<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: C:/Users/ASUS/Desktop/dm-ctrlH7-balance-9025test/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('stm32h7xx__hal__tim_8h_source.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">stm32h7xx_hal_tim.h</div></div>
</div><!--header-->
<div class="contents">
<a href="stm32h7xx__hal__tim_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#ifndef STM32H7xx_HAL_TIM_H</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#define STM32H7xx_HAL_TIM_H</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment">/* Includes ------------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &quot;<a class="code" href="stm32h7xx__hal__def_8h.html">stm32h7xx_hal_def.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="comment">/* Exported types ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span></div>
<div class="foldopen" id="foldopen00046" data-start="{" data-end="};">
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="struct_t_i_m___base___init_type_def.html">   46</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>{</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="struct_t_i_m___base___init_type_def.html#afc886119e6709bb576d25b5cf8d12d92">   48</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___base___init_type_def.html#afc886119e6709bb576d25b5cf8d12d92">Prescaler</a>;         </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="struct_t_i_m___base___init_type_def.html#a16d0c02a8f35426360a64c0706656e35">   51</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___base___init_type_def.html#a16d0c02a8f35426360a64c0706656e35">CounterMode</a>;       </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="struct_t_i_m___base___init_type_def.html#a8fab2bc184bb756763ff59c729b5be55">   54</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___base___init_type_def.html#a8fab2bc184bb756763ff59c729b5be55">Period</a>;            </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="struct_t_i_m___base___init_type_def.html#ade59c3a547a5409da845592f30596d17">   58</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___base___init_type_def.html#ade59c3a547a5409da845592f30596d17">ClockDivision</a>;     </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="struct_t_i_m___base___init_type_def.html#aa949328175500fd1d112f64a4db5ae79">   61</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___base___init_type_def.html#aa949328175500fd1d112f64a4db5ae79">RepetitionCounter</a>;  </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="struct_t_i_m___base___init_type_def.html#a29e7b91a384f12e6be0f3ffb62ea1ea7">   72</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___base___init_type_def.html#a29e7b91a384f12e6be0f3ffb62ea1ea7">AutoReloadPreload</a>;  </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>} <a class="code hl_struct" href="struct_t_i_m___base___init_type_def.html">TIM_Base_InitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span></div>
<div class="foldopen" id="foldopen00079" data-start="{" data-end="};">
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html">   79</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>{</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html#ae5faa1cba0b3f1ab6179cc54e1015ee8">   81</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___o_c___init_type_def.html#ae5faa1cba0b3f1ab6179cc54e1015ee8">OCMode</a>;        </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html#a61fb5b9ef4154de67620ac81085a0e39">   84</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___o_c___init_type_def.html#a61fb5b9ef4154de67620ac81085a0e39">Pulse</a>;         </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html#a556b7137d041aceed3e45c87cbfb39cd">   87</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___o_c___init_type_def.html#a556b7137d041aceed3e45c87cbfb39cd">OCPolarity</a>;    </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html#a21922d8e2fee659d081c4be4c500d1d4">   90</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___o_c___init_type_def.html#a21922d8e2fee659d081c4be4c500d1d4">OCNPolarity</a>;   </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html#a4c4203c5ed779ac86fb793bb9d628e55">   94</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___o_c___init_type_def.html#a4c4203c5ed779ac86fb793bb9d628e55">OCFastMode</a>;    </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html#ace3e2b76ca2fca0f4961585ed9ebecf5">   99</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___o_c___init_type_def.html#ace3e2b76ca2fca0f4961585ed9ebecf5">OCIdleState</a>;   </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="struct_t_i_m___o_c___init_type_def.html#a0d70cc51990d7433fd76cc6ed1d06237">  103</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___o_c___init_type_def.html#a0d70cc51990d7433fd76cc6ed1d06237">OCNIdleState</a>;  </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>} <a class="code hl_struct" href="struct_t_i_m___o_c___init_type_def.html">TIM_OC_InitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span></div>
<div class="foldopen" id="foldopen00111" data-start="{" data-end="};">
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html">  111</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>{</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#af127f01162853e39ae616b43cc52b674">  113</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#af127f01162853e39ae616b43cc52b674">OCMode</a>;        </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span> </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#a4f1fbf6d60812c3194e9ee8a05f5cfa6">  116</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#a4f1fbf6d60812c3194e9ee8a05f5cfa6">Pulse</a>;         </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#a3028787ad41698072cbf70ddf1b6c984">  119</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#a3028787ad41698072cbf70ddf1b6c984">OCPolarity</a>;    </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#a00deac6c3347b0482955d936351c6388">  122</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#a00deac6c3347b0482955d936351c6388">OCNPolarity</a>;   </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#aef11bcea1dbf3e3ddf2a4bbc2846bb1e">  126</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#aef11bcea1dbf3e3ddf2a4bbc2846bb1e">OCIdleState</a>;   </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#a37bc0a680d53458bf4c42ebb277b0c2c">  130</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#a37bc0a680d53458bf4c42ebb277b0c2c">OCNIdleState</a>;  </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#a8589cf95218ea62604b845054b36b772">  134</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#a8589cf95218ea62604b845054b36b772">ICPolarity</a>;    </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#a9e8853f17e85393a869aa2ecb315f030">  137</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#a9e8853f17e85393a869aa2ecb315f030">ICSelection</a>;   </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="struct_t_i_m___one_pulse___init_type_def.html#a883e69dec14d8bde9914906be1b04ad7">  140</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___one_pulse___init_type_def.html#a883e69dec14d8bde9914906be1b04ad7">ICFilter</a>;      </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>} <a class="code hl_struct" href="struct_t_i_m___one_pulse___init_type_def.html">TIM_OnePulse_InitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span></div>
<div class="foldopen" id="foldopen00147" data-start="{" data-end="};">
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="struct_t_i_m___i_c___init_type_def.html">  147</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>{</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="struct_t_i_m___i_c___init_type_def.html#ab122383ebc0926c49a814546471da9b3">  149</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___i_c___init_type_def.html#ab122383ebc0926c49a814546471da9b3">ICPolarity</a>;  </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="struct_t_i_m___i_c___init_type_def.html#aad80556490de79727ba1269c851e9724">  152</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___i_c___init_type_def.html#aad80556490de79727ba1269c851e9724">ICSelection</a>;  </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="struct_t_i_m___i_c___init_type_def.html#a452a4a459b6f7b7c478db032de9b0d72">  155</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___i_c___init_type_def.html#a452a4a459b6f7b7c478db032de9b0d72">ICPrescaler</a>;  </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="struct_t_i_m___i_c___init_type_def.html#ae8432aa11b5495b252ac7ae299eabb32">  158</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___i_c___init_type_def.html#ae8432aa11b5495b252ac7ae299eabb32">ICFilter</a>;     </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>} <a class="code hl_struct" href="struct_t_i_m___i_c___init_type_def.html">TIM_IC_InitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span></div>
<div class="foldopen" id="foldopen00165" data-start="{" data-end="};">
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html">  165</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>{</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#ab1e4b0752d88c04081e3ff2fea6aa52e">  167</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#ab1e4b0752d88c04081e3ff2fea6aa52e">EncoderMode</a>;   </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span> </div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#a3e27323d593e4f3b95ebaa3772e79618">  170</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#a3e27323d593e4f3b95ebaa3772e79618">IC1Polarity</a>;   </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#a85fbdebacff594ff1ad0d16eddfdc179">  173</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#a85fbdebacff594ff1ad0d16eddfdc179">IC1Selection</a>;  </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#a56307eb4766e3f0e1cd1cd3c4fc2157e">  176</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#a56307eb4766e3f0e1cd1cd3c4fc2157e">IC1Prescaler</a>;  </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#a50f3051c1b568b9dcde146199f97f3fb">  179</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#a50f3051c1b568b9dcde146199f97f3fb">IC1Filter</a>;     </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#abb7968a8ba34e13da1fb8f5916a754ce">  182</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#abb7968a8ba34e13da1fb8f5916a754ce">IC2Polarity</a>;   </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#a84a39a8667f296b4b3fbe1a0add58396">  185</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#a84a39a8667f296b4b3fbe1a0add58396">IC2Selection</a>;  </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#ac80972d0e157508ff075815da58070cb">  188</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#ac80972d0e157508ff075815da58070cb">IC2Prescaler</a>;  </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="struct_t_i_m___encoder___init_type_def.html#a30cdb580735007aa9735b2f5cc133049">  191</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___encoder___init_type_def.html#a30cdb580735007aa9735b2f5cc133049">IC2Filter</a>;     </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>} <a class="code hl_struct" href="struct_t_i_m___encoder___init_type_def.html">TIM_Encoder_InitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span></div>
<div class="foldopen" id="foldopen00198" data-start="{" data-end="};">
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="struct_t_i_m___clock_config_type_def.html">  198</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>{</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="struct_t_i_m___clock_config_type_def.html#a54c329013b5f6f87d1c3d2495fca84d2">  200</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clock_config_type_def.html#a54c329013b5f6f87d1c3d2495fca84d2">ClockSource</a>;     </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"><a class="line" href="struct_t_i_m___clock_config_type_def.html#a66453fa8dc8a300267ff5aba08eff5c4">  202</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clock_config_type_def.html#a66453fa8dc8a300267ff5aba08eff5c4">ClockPolarity</a>;   </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="struct_t_i_m___clock_config_type_def.html#ae4c0cb6f58da0ec7b99f1c6411d2fee1">  204</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clock_config_type_def.html#ae4c0cb6f58da0ec7b99f1c6411d2fee1">ClockPrescaler</a>;  </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="struct_t_i_m___clock_config_type_def.html#adaf66568c766f75c4c661a872ca399e3">  206</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clock_config_type_def.html#adaf66568c766f75c4c661a872ca399e3">ClockFilter</a>;     </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>} <a class="code hl_struct" href="struct_t_i_m___clock_config_type_def.html">TIM_ClockConfigTypeDef</a>;</div>
</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span></div>
<div class="foldopen" id="foldopen00213" data-start="{" data-end="};">
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="struct_t_i_m___clear_input_config_type_def.html">  213</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span>{</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="struct_t_i_m___clear_input_config_type_def.html#a01d4b91dd297c4f0582a4d9179abf32f">  215</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clear_input_config_type_def.html#a01d4b91dd297c4f0582a4d9179abf32f">ClearInputState</a>;      </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="struct_t_i_m___clear_input_config_type_def.html#a776d2f14021a82e022468fd46594b8a0">  217</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clear_input_config_type_def.html#a776d2f14021a82e022468fd46594b8a0">ClearInputSource</a>;     </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="struct_t_i_m___clear_input_config_type_def.html#a49dbc65edc5316822fcabd61cc8409de">  219</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clear_input_config_type_def.html#a49dbc65edc5316822fcabd61cc8409de">ClearInputPolarity</a>;   </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="struct_t_i_m___clear_input_config_type_def.html#a509cecb64fec71391ddc8b4703e09cfe">  221</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clear_input_config_type_def.html#a509cecb64fec71391ddc8b4703e09cfe">ClearInputPrescaler</a>;  </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="struct_t_i_m___clear_input_config_type_def.html#a6d2e06a970e30aaf4f8a6091e443eecf">  224</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___clear_input_config_type_def.html#a6d2e06a970e30aaf4f8a6091e443eecf">ClearInputFilter</a>;     </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span>} <a class="code hl_struct" href="struct_t_i_m___clear_input_config_type_def.html">TIM_ClearInputConfigTypeDef</a>;</div>
</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span></div>
<div class="foldopen" id="foldopen00233" data-start="{" data-end="};">
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="struct_t_i_m___master_config_type_def.html">  233</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>{</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"><a class="line" href="struct_t_i_m___master_config_type_def.html#a908a6c1b46cb203c0b8b59b490e1114e">  235</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___master_config_type_def.html#a908a6c1b46cb203c0b8b59b490e1114e">MasterOutputTrigger</a>;   </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"><a class="line" href="struct_t_i_m___master_config_type_def.html#a5c9db1837051b5b2927bc4d726e980fe">  237</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___master_config_type_def.html#a5c9db1837051b5b2927bc4d726e980fe">MasterOutputTrigger2</a>;  </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="struct_t_i_m___master_config_type_def.html#a45ddfca310a1180e19fc24b36f8e9585">  239</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___master_config_type_def.html#a45ddfca310a1180e19fc24b36f8e9585">MasterSlaveMode</a>;       </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span>} <a class="code hl_struct" href="struct_t_i_m___master_config_type_def.html">TIM_MasterConfigTypeDef</a>;</div>
</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span></div>
<div class="foldopen" id="foldopen00251" data-start="{" data-end="};">
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="struct_t_i_m___slave_config_type_def.html">  251</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span>{</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="struct_t_i_m___slave_config_type_def.html#a2792de155698128ade1e505618c1bc43">  253</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___slave_config_type_def.html#a2792de155698128ade1e505618c1bc43">SlaveMode</a>;         </div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"><a class="line" href="struct_t_i_m___slave_config_type_def.html#a82efdad1e2ed9edbd4c895987ebfe0f7">  255</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___slave_config_type_def.html#a82efdad1e2ed9edbd4c895987ebfe0f7">InputTrigger</a>;      </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="struct_t_i_m___slave_config_type_def.html#afa8fa1801ef5e13115732a495ef11165">  257</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___slave_config_type_def.html#afa8fa1801ef5e13115732a495ef11165">TriggerPolarity</a>;   </div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="struct_t_i_m___slave_config_type_def.html#a57be6d41d77a968f1daeac7b65b1ab4c">  259</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___slave_config_type_def.html#a57be6d41d77a968f1daeac7b65b1ab4c">TriggerPrescaler</a>;  </div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="struct_t_i_m___slave_config_type_def.html#a07d28f704576a41e37bbb7412e0fba60">  261</a></span>  uint32_t  <a class="code hl_variable" href="struct_t_i_m___slave_config_type_def.html#a07d28f704576a41e37bbb7412e0fba60">TriggerFilter</a>;     </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span> </div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span>} <a class="code hl_struct" href="struct_t_i_m___slave_config_type_def.html">TIM_SlaveConfigTypeDef</a>;</div>
</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span></div>
<div class="foldopen" id="foldopen00271" data-start="{" data-end="};">
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html">  271</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span>{</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#a5e97751b5e397414e2a5120eb5cef7c6">  273</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#a5e97751b5e397414e2a5120eb5cef7c6">OffStateRunMode</a>;      </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#a49f39e31ac019b9b7a20751bfd01c6c4">  275</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#a49f39e31ac019b9b7a20751bfd01c6c4">OffStateIDLEMode</a>;     </div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#ab00ae9fa5c6daa6319883863dee6e40a">  277</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#ab00ae9fa5c6daa6319883863dee6e40a">LockLevel</a>;            </div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span> </div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#a4bdc5aec84be4b728b55028491f261d4">  279</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#a4bdc5aec84be4b728b55028491f261d4">DeadTime</a>;             </div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span> </div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#a8962430194b43ac28a14c96dd9cc44e6">  281</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#a8962430194b43ac28a14c96dd9cc44e6">BreakState</a>;           </div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span> </div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#ae15ddbf3087f9a2129a52a1317339ea7">  283</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#ae15ddbf3087f9a2129a52a1317339ea7">BreakPolarity</a>;        </div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span> </div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#aad8158e694a62f6c071975ee4c2e5b6a">  285</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#aad8158e694a62f6c071975ee4c2e5b6a">BreakFilter</a>;          </div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno">  286</span> </div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span><span class="preprocessor">#if defined(TIM_BDTR_BKBID)</span></div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno">  288</span>  uint32_t BreakAFMode;          </div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span> </div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno">  290</span><span class="preprocessor">#endif </span><span class="comment">/* TIM_BDTR_BKBID */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#ab9a983671c730c9b33852c9aa60846fb">  291</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#ab9a983671c730c9b33852c9aa60846fb">Break2State</a>;          </div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span> </div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#af492d4b9f5e974abb51abe58d413cd17">  293</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#af492d4b9f5e974abb51abe58d413cd17">Break2Polarity</a>;       </div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span> </div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#a3c90aabc31a34864525dad4bd3547c86">  295</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#a3c90aabc31a34864525dad4bd3547c86">Break2Filter</a>;         </div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno">  297</span><span class="preprocessor">#if defined(TIM_BDTR_BKBID)</span></div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span>  uint32_t Break2AFMode;         </div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span> </div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno">  300</span><span class="preprocessor">#endif </span><span class="comment">/* TIM_BDTR_BKBID */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"><a class="line" href="struct_t_i_m___break_dead_time_config_type_def.html#ae591f2368d0be5b77d8a746e73eabe71">  301</a></span>  uint32_t <a class="code hl_variable" href="struct_t_i_m___break_dead_time_config_type_def.html#ae591f2368d0be5b77d8a746e73eabe71">AutomaticOutput</a>;      </div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span> </div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span>} <a class="code hl_struct" href="struct_t_i_m___break_dead_time_config_type_def.html">TIM_BreakDeadTimeConfigTypeDef</a>;</div>
</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span></div>
<div class="foldopen" id="foldopen00308" data-start="{" data-end="};">
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">  308</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span>{</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca28011b79e60b74a6c55947c505c51cbc">  310</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca28011b79e60b74a6c55947c505c51cbc">HAL_TIM_STATE_RESET</a>             = 0x00U,    </div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca4545554d7fa04d17e78d69d17cb7e4b3">  311</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca4545554d7fa04d17e78d69d17cb7e4b3">HAL_TIM_STATE_READY</a>             = 0x01U,    </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca1ddbfef19ad0562eb8143919b710cc12">  312</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca1ddbfef19ad0562eb8143919b710cc12">HAL_TIM_STATE_BUSY</a>              = 0x02U,    </div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca03e3339df71a74ac37820f72c2989371">  313</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca03e3339df71a74ac37820f72c2989371">HAL_TIM_STATE_TIMEOUT</a>           = 0x03U,    </div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca318cceb243cb9ca9e01833913e4f90ea">  314</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca318cceb243cb9ca9e01833913e4f90ea">HAL_TIM_STATE_ERROR</a>             = 0x04U     </div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span>} <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a>;</div>
</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno">  316</span></div>
<div class="foldopen" id="foldopen00320" data-start="{" data-end="};">
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ga1a70fcbe9952e18af5c890e216a15f34">  320</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span>{</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">  322</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>             = 0x00U,    </div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a38f4c5665247f7c997d0b200ed7ccc0e">  323</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a38f4c5665247f7c997d0b200ed7ccc0e">HAL_TIM_CHANNEL_STATE_READY</a>             = 0x01U,    </div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34ad5dca7086716ee2cde9aaccaefd838ff">  324</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34ad5dca7086716ee2cde9aaccaefd838ff">HAL_TIM_CHANNEL_STATE_BUSY</a>              = 0x02U,    </div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span>} <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#ga1a70fcbe9952e18af5c890e216a15f34">HAL_TIM_ChannelStateTypeDef</a>;</div>
</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno">  326</span></div>
<div class="foldopen" id="foldopen00330" data-start="{" data-end="};">
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ga9b87df539778a60ea940a9d5ba793f7c">  330</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno">  331</span>{</div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca98c26cb59bb0c07b7f020d7ff8678bb8">  332</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca98c26cb59bb0c07b7f020d7ff8678bb8">HAL_DMA_BURST_STATE_RESET</a>             = 0x00U,    </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca44e8b59c22cd2b17d449b120e03e4952">  333</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca44e8b59c22cd2b17d449b120e03e4952">HAL_DMA_BURST_STATE_READY</a>             = 0x01U,    </div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca2de45462aabea1ed8b0d249441404e82">  334</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca2de45462aabea1ed8b0d249441404e82">HAL_DMA_BURST_STATE_BUSY</a>              = 0x02U,    </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span>} <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#ga9b87df539778a60ea940a9d5ba793f7c">HAL_TIM_DMABurstStateTypeDef</a>;</div>
</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno">  336</span></div>
<div class="foldopen" id="foldopen00340" data-start="{" data-end="};">
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#gaa3fa7bcbb4707f1151ccfc90a8cf9706">  340</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span>{</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a2024e95c48b58ec9b2115faa276e3fad">  342</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a2024e95c48b58ec9b2115faa276e3fad">HAL_TIM_ACTIVE_CHANNEL_1</a>        = 0x01U,    </div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706ae80e6a1dd1c479f504219c0fec2f3322">  343</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706ae80e6a1dd1c479f504219c0fec2f3322">HAL_TIM_ACTIVE_CHANNEL_2</a>        = 0x02U,    </div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706acc3fcf4ee6d91744c4bc6a5eccde2601">  344</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706acc3fcf4ee6d91744c4bc6a5eccde2601">HAL_TIM_ACTIVE_CHANNEL_3</a>        = 0x04U,    </div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a7d98ec7e385cacb3aaa6cec601fa6ab6">  345</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a7d98ec7e385cacb3aaa6cec601fa6ab6">HAL_TIM_ACTIVE_CHANNEL_4</a>        = 0x08U,    </div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a50b9b4be055407e9f566d8da0a7e07cc">  346</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a50b9b4be055407e9f566d8da0a7e07cc">HAL_TIM_ACTIVE_CHANNEL_5</a>        = 0x10U,    </div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a368a574b486286c87f763957a0ef9d93">  347</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a368a574b486286c87f763957a0ef9d93">HAL_TIM_ACTIVE_CHANNEL_6</a>        = 0x20U,    </div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a574f72ac3bb41fe660318aa42dfdc98d">  348</a></span>  <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a574f72ac3bb41fe660318aa42dfdc98d">HAL_TIM_ACTIVE_CHANNEL_CLEARED</a>  = 0x00U     </div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span>} <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gaa3fa7bcbb4707f1151ccfc90a8cf9706">HAL_TIM_ActiveChannel</a>;</div>
</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span></div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno">  354</span><span class="preprocessor">#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)</span></div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno">  355</span><span class="keyword">typedef</span> <span class="keyword">struct </span>__TIM_HandleTypeDef</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span>#else</div>
<div class="foldopen" id="foldopen00357" data-start="{" data-end="};">
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html">  357</a></span>typedef struct</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span>#endif <span class="comment">/* USE_HAL_TIM_REGISTER_CALLBACKS */</span></div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span>{</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#ad0c5f736a15f6d8d14724854c8133bcc">  360</a></span>  <a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>                        *<a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#ad0c5f736a15f6d8d14724854c8133bcc">Instance</a>;         </div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#a8b2e61c3c4128e62cb7be7d35048152e">  361</a></span>  <a class="code hl_struct" href="struct_t_i_m___base___init_type_def.html">TIM_Base_InitTypeDef</a>               <a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#a8b2e61c3c4128e62cb7be7d35048152e">Init</a>;              </div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#ae9c5a11c1f5b27c808c0aca453e63870">  362</a></span>  <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gaa3fa7bcbb4707f1151ccfc90a8cf9706">HAL_TIM_ActiveChannel</a>              <a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#ae9c5a11c1f5b27c808c0aca453e63870">Channel</a>;           </div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#a15338c71de82fa178c685be868e694bd">  363</a></span>  <a class="code hl_typedef" href="group___d_m_a___exported___types.html#ga41b754a906b86bce54dc79938970138b">DMA_HandleTypeDef</a>                  *<a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#a15338c71de82fa178c685be868e694bd">hdma</a>[7];          </div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#a2a24b963b57150ed2fb0f051cd87b65a">  365</a></span>  <a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#ab367482e943333a1299294eadaad284b">HAL_LockTypeDef</a>                    <a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#a2a24b963b57150ed2fb0f051cd87b65a">Lock</a>;              </div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#a6b6eeaf94f2e6e3d0a5bdac44adf21d6">  366</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a>          <a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#a6b6eeaf94f2e6e3d0a5bdac44adf21d6">State</a>;             </div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#a97dfe939e85a354c2dd8c66bef48e5a2">  367</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#ga1a70fcbe9952e18af5c890e216a15f34">HAL_TIM_ChannelStateTypeDef</a>   <a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#a97dfe939e85a354c2dd8c66bef48e5a2">ChannelState</a>[6];   </div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#ac7648b2c1fd8d3fb38913fbad5379b11">  368</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#ga1a70fcbe9952e18af5c890e216a15f34">HAL_TIM_ChannelStateTypeDef</a>   <a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#ac7648b2c1fd8d3fb38913fbad5379b11">ChannelNState</a>[4];  </div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"><a class="line" href="struct_t_i_m___handle_type_def.html#a985e3a4b24617ab917ed20e089e4ce83">  369</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> <a class="code hl_enumeration" href="group___t_i_m___exported___types.html#ga9b87df539778a60ea940a9d5ba793f7c">HAL_TIM_DMABurstStateTypeDef</a>  <a class="code hl_variable" href="struct_t_i_m___handle_type_def.html#a985e3a4b24617ab917ed20e089e4ce83">DMABurstState</a>;     </div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span> </div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span><span class="preprocessor">#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)</span></div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span>  void (* Base_MspInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);              </div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span>  void (* Base_MspDeInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);            </div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span>  void (* IC_MspInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);                </div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span>  void (* IC_MspDeInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);              </div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span>  void (* OC_MspInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);                </div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span>  void (* OC_MspDeInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);              </div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno">  378</span>  void (* PWM_MspInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);               </div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span>  void (* PWM_MspDeInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);             </div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span>  void (* OnePulse_MspInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);          </div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span>  void (* OnePulse_MspDeInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);        </div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span>  void (* Encoder_MspInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);           </div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span>  void (* Encoder_MspDeInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);         </div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span>  void (* HallSensor_MspInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);        </div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span>  void (* HallSensor_MspDeInitCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);      </div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span>  void (* PeriodElapsedCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);             </div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span>  void (* PeriodElapsedHalfCpltCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);     </div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span>  void (* TriggerCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);                   </div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span>  void (* TriggerHalfCpltCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);           </div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno">  390</span>  void (* IC_CaptureCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);                </div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span>  void (* IC_CaptureHalfCpltCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);        </div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span>  void (* OC_DelayElapsedCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);           </div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span>  void (* PWM_PulseFinishedCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);         </div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span>  void (* PWM_PulseFinishedHalfCpltCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim); </div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span>  void (* ErrorCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);                     </div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span>  void (* CommutationCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);               </div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span>  void (* CommutationHalfCpltCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);       </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno">  398</span>  void (* BreakCallback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);                     </div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span>  void (* Break2Callback)(<span class="keyword">struct </span>__TIM_HandleTypeDef *htim);                    </div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span><span class="preprocessor">#endif </span><span class="comment">/* USE_HAL_TIM_REGISTER_CALLBACKS */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno">  401</span>} <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a>;</div>
</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno">  402</span> </div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno">  403</span><span class="preprocessor">#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span><span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span>{</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span>  HAL_TIM_BASE_MSPINIT_CB_ID              = 0x00U   </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span>  , HAL_TIM_BASE_MSPDEINIT_CB_ID          = 0x01U   </div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span>  , HAL_TIM_IC_MSPINIT_CB_ID              = 0x02U   </div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span>  , HAL_TIM_IC_MSPDEINIT_CB_ID            = 0x03U   </div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span>  , HAL_TIM_OC_MSPINIT_CB_ID              = 0x04U   </div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span>  , HAL_TIM_OC_MSPDEINIT_CB_ID            = 0x05U   </div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span>  , HAL_TIM_PWM_MSPINIT_CB_ID             = 0x06U   </div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno">  416</span>  , HAL_TIM_PWM_MSPDEINIT_CB_ID           = 0x07U   </div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span>  , HAL_TIM_ONE_PULSE_MSPINIT_CB_ID       = 0x08U   </div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span>  , HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID     = 0x09U   </div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span>  , HAL_TIM_ENCODER_MSPINIT_CB_ID         = 0x0AU   </div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span>  , HAL_TIM_ENCODER_MSPDEINIT_CB_ID       = 0x0BU   </div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno">  421</span>  , HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID     = 0x0CU   </div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno">  422</span>  , HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID   = 0x0DU   </div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span>  , HAL_TIM_PERIOD_ELAPSED_CB_ID          = 0x0EU   </div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno">  424</span>  , HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID     = 0x0FU   </div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span>  , HAL_TIM_TRIGGER_CB_ID                 = 0x10U   </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno">  426</span>  , HAL_TIM_TRIGGER_HALF_CB_ID            = 0x11U   </div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno">  427</span>  , HAL_TIM_IC_CAPTURE_CB_ID              = 0x12U   </div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno">  428</span>  , HAL_TIM_IC_CAPTURE_HALF_CB_ID         = 0x13U   </div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno">  429</span>  , HAL_TIM_OC_DELAY_ELAPSED_CB_ID        = 0x14U   </div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno">  430</span>  , HAL_TIM_PWM_PULSE_FINISHED_CB_ID      = 0x15U   </div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span>  , HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID = 0x16U   </div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span>  , HAL_TIM_ERROR_CB_ID                   = 0x17U   </div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span>  , HAL_TIM_COMMUTATION_CB_ID             = 0x18U   </div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span>  , HAL_TIM_COMMUTATION_HALF_CB_ID        = 0x19U   </div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span>  , HAL_TIM_BREAK_CB_ID                   = 0x1AU   </div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span>  , HAL_TIM_BREAK2_CB_ID                  = 0x1BU   </div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span>} HAL_TIM_CallbackIDTypeDef;</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno">  438</span></div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno">  442</span><span class="keyword">typedef</span>  void (*pTIM_CallbackTypeDef)(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);  </div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span> </div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span><span class="preprocessor">#endif </span><span class="comment">/* USE_HAL_TIM_REGISTER_CALLBACKS */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span></div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno">  449</span><span class="comment">/* End of exported types -----------------------------------------------------*/</span></div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span> </div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span><span class="comment">/* Exported constants --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___source.html#ga48c5312aecd377fab00d62e9b4169e9e">  459</a></span><span class="preprocessor">#define TIM_CLEARINPUTSOURCE_NONE           0x00000000U   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___source.html#gaa28a8cf1db85cf6c845c6c1f02ba5c8e">  460</a></span><span class="preprocessor">#define TIM_CLEARINPUTSOURCE_ETR            0x00000001U   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span></div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno">  468</span><span class="preprocessor">#define TIM_DMABASE_CR1                    0x00000000U</span></div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span><span class="preprocessor">#define TIM_DMABASE_CR2                    0x00000001U</span></div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span><span class="preprocessor">#define TIM_DMABASE_SMCR                   0x00000002U</span></div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span><span class="preprocessor">#define TIM_DMABASE_DIER                   0x00000003U</span></div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span><span class="preprocessor">#define TIM_DMABASE_SR                     0x00000004U</span></div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span><span class="preprocessor">#define TIM_DMABASE_EGR                    0x00000005U</span></div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno">  474</span><span class="preprocessor">#define TIM_DMABASE_CCMR1                  0x00000006U</span></div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span><span class="preprocessor">#define TIM_DMABASE_CCMR2                  0x00000007U</span></div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno">  476</span><span class="preprocessor">#define TIM_DMABASE_CCER                   0x00000008U</span></div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno">  477</span><span class="preprocessor">#define TIM_DMABASE_CNT                    0x00000009U</span></div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span><span class="preprocessor">#define TIM_DMABASE_PSC                    0x0000000AU</span></div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno">  479</span><span class="preprocessor">#define TIM_DMABASE_ARR                    0x0000000BU</span></div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno">  480</span><span class="preprocessor">#define TIM_DMABASE_RCR                    0x0000000CU</span></div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno">  481</span><span class="preprocessor">#define TIM_DMABASE_CCR1                   0x0000000DU</span></div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno">  482</span><span class="preprocessor">#define TIM_DMABASE_CCR2                   0x0000000EU</span></div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno">  483</span><span class="preprocessor">#define TIM_DMABASE_CCR3                   0x0000000FU</span></div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span><span class="preprocessor">#define TIM_DMABASE_CCR4                   0x00000010U</span></div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span><span class="preprocessor">#define TIM_DMABASE_BDTR                   0x00000011U</span></div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span><span class="preprocessor">#define TIM_DMABASE_DCR                    0x00000012U</span></div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno">  487</span><span class="preprocessor">#define TIM_DMABASE_DMAR                   0x00000013U</span></div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno">  488</span><span class="preprocessor">#define TIM_DMABASE_CCMR3                  0x00000015U</span></div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno">  489</span><span class="preprocessor">#define TIM_DMABASE_CCR5                   0x00000016U</span></div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno">  490</span><span class="preprocessor">#define TIM_DMABASE_CCR6                   0x00000017U</span></div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno">  491</span><span class="preprocessor">#if   defined(TIM_BREAK_INPUT_SUPPORT)</span></div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno">  492</span><span class="preprocessor">#define TIM_DMABASE_AF1                    0x00000018U</span></div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span><span class="preprocessor">#define TIM_DMABASE_AF2                    0x00000019U</span></div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span><span class="preprocessor">#endif </span><span class="comment">/* TIM_BREAK_INPUT_SUPPORT */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno">  495</span><span class="preprocessor">#define TIM_DMABASE_TISEL                  0x0000001AU</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno">  499</span></div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga6b9d1352735d2ddbafcaa31ae05cd1ee">  503</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_UPDATE              TIM_EGR_UG     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga529eadf26cd17108dd95b9707a3d0f55">  504</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_CC1                 TIM_EGR_CC1G   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga12e3a98c601f4f288354ac2538050e6b">  505</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_CC2                 TIM_EGR_CC2G   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga1c2faf942ab525b44299ddd0a6d848e4">  506</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_CC3                 TIM_EGR_CC3G   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga157e43c99e6a1c0097b184cc842b5dfb">  507</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_CC4                 TIM_EGR_CC4G   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga5724ce4aaf842a2166edaaff1531c1d1">  508</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_COM                 TIM_EGR_COMG   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga85573ed76442490db67e4b759fe6d901">  509</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_TRIGGER             TIM_EGR_TG     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga83d16368fe3172a98c41d7c414780a64">  510</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_BREAK               TIM_EGR_BG     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"><a class="line" href="group___t_i_m___event___source.html#ga1fc597b9937cc1cbc09b0e4450ad55fc">  511</a></span><span class="preprocessor">#define TIM_EVENTSOURCE_BREAK2              TIM_EGR_B2G    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span></div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"><a class="line" href="group___t_i_m___input___channel___polarity.html#ga4f4cede88a4ad4b33e81f2567e9bb08f">  519</a></span><span class="preprocessor">#define  TIM_INPUTCHANNELPOLARITY_RISING      0x00000000U                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"><a class="line" href="group___t_i_m___input___channel___polarity.html#ga07441a8c0a52234e30f471c23803450c">  520</a></span><span class="preprocessor">#define  TIM_INPUTCHANNELPOLARITY_FALLING     TIM_CCER_CC1P                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"><a class="line" href="group___t_i_m___input___channel___polarity.html#gaab2598881d1f19158e77723c5d29d6ac">  521</a></span><span class="preprocessor">#define  TIM_INPUTCHANNELPOLARITY_BOTHEDGE    (TIM_CCER_CC1P | TIM_CCER_CC1NP)  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno">  525</span></div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"><a class="line" href="group___t_i_m___e_t_r___polarity.html#ga42652ff688f0042659f8304ae08abfa6">  529</a></span><span class="preprocessor">#define TIM_ETRPOLARITY_INVERTED              TIM_SMCR_ETP                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"><a class="line" href="group___t_i_m___e_t_r___polarity.html#ga7fa7c43245b25564414b2e191d5d8b14">  530</a></span><span class="preprocessor">#define TIM_ETRPOLARITY_NONINVERTED           0x00000000U                       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno">  534</span></div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"><a class="line" href="group___t_i_m___e_t_r___prescaler.html#gabead5364c62645592e42545ba09ab88a">  538</a></span><span class="preprocessor">#define TIM_ETRPRESCALER_DIV1                 0x00000000U                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"><a class="line" href="group___t_i_m___e_t_r___prescaler.html#gaf7fe49f67bdb6b33b9b41953fee75680">  539</a></span><span class="preprocessor">#define TIM_ETRPRESCALER_DIV2                 TIM_SMCR_ETPS_0                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"><a class="line" href="group___t_i_m___e_t_r___prescaler.html#gaa09da30c3cd28f1fe6b6f3f599a5212c">  540</a></span><span class="preprocessor">#define TIM_ETRPRESCALER_DIV4                 TIM_SMCR_ETPS_1                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"><a class="line" href="group___t_i_m___e_t_r___prescaler.html#ga834e38200874cced108379b17a24d0b7">  541</a></span><span class="preprocessor">#define TIM_ETRPRESCALER_DIV8                 TIM_SMCR_ETPS                     </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno">  545</span></div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"><a class="line" href="group___t_i_m___counter___mode.html#ga9eb9ab91119c2c76d4db453d599c0b7d">  549</a></span><span class="preprocessor">#define TIM_COUNTERMODE_UP                 0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"><a class="line" href="group___t_i_m___counter___mode.html#ga5f590fdd7c41df7180b870bb76ff691c">  550</a></span><span class="preprocessor">#define TIM_COUNTERMODE_DOWN               TIM_CR1_DIR                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"><a class="line" href="group___t_i_m___counter___mode.html#ga26d8e5236c35d85c2abaa482b5ec6746">  551</a></span><span class="preprocessor">#define TIM_COUNTERMODE_CENTERALIGNED1     TIM_CR1_CMS_0                        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"><a class="line" href="group___t_i_m___counter___mode.html#gae4517c68086ffa61a694576cec8fe634">  552</a></span><span class="preprocessor">#define TIM_COUNTERMODE_CENTERALIGNED2     TIM_CR1_CMS_1                        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"><a class="line" href="group___t_i_m___counter___mode.html#gaf0c3edf6ea1ade3520ab4970e1fc6e92">  553</a></span><span class="preprocessor">#define TIM_COUNTERMODE_CENTERALIGNED3     TIM_CR1_CMS                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno">  557</span></div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"><a class="line" href="group___t_i_m___update___interrupt___flag___remap.html#gaaeea7464e7ff856b77ed6c851b17e2e5">  561</a></span><span class="preprocessor">#define TIM_UIFREMAP_DISABLE               0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="group___t_i_m___update___interrupt___flag___remap.html#gaac447513149e2f28e7cd66f1810cfa0b">  562</a></span><span class="preprocessor">#define TIM_UIFREMAP_ENABLE                TIM_CR1_UIFREMAP                     </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno">  566</span></div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"><a class="line" href="group___t_i_m___clock_division.html#ga309297ccd407a836ede6a42d4dc479c1">  570</a></span><span class="preprocessor">#define TIM_CLOCKDIVISION_DIV1             0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"><a class="line" href="group___t_i_m___clock_division.html#gaf84a16da8edb80a3d8af91fbfc046181">  571</a></span><span class="preprocessor">#define TIM_CLOCKDIVISION_DIV2             TIM_CR1_CKD_0                        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"><a class="line" href="group___t_i_m___clock_division.html#ga7cac7491610ffc135ea9ed54f769ddbc">  572</a></span><span class="preprocessor">#define TIM_CLOCKDIVISION_DIV4             TIM_CR1_CKD_1                        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno">  576</span></div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___state.html#ga98fa585adffeb0d3654b47040576c6b7">  580</a></span><span class="preprocessor">#define TIM_OUTPUTSTATE_DISABLE            0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___state.html#ga114555abc521311f689478a7e0a9ace9">  581</a></span><span class="preprocessor">#define TIM_OUTPUTSTATE_ENABLE             TIM_CCER_CC1E                        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno">  585</span></div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"><a class="line" href="group___t_i_m___auto_reload_preload.html#ga4d0cf7e2800d0ab10f3f0ebfac11c9c7">  589</a></span><span class="preprocessor">#define TIM_AUTORELOAD_PRELOAD_DISABLE                0x00000000U               </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"><a class="line" href="group___t_i_m___auto_reload_preload.html#gaaa36f0c74b1d1ec83b0c105bfedfa309">  590</a></span><span class="preprocessor">#define TIM_AUTORELOAD_PRELOAD_ENABLE                 TIM_CR1_ARPE              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno">  591</span></div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno">  595</span></div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"><a class="line" href="group___t_i_m___output___fast___state.html#ga71429b63f2a6604171ccfd3a91ccf43a">  599</a></span><span class="preprocessor">#define TIM_OCFAST_DISABLE                 0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"><a class="line" href="group___t_i_m___output___fast___state.html#ga445a2c0633ac649e816cf7a16b716d61">  600</a></span><span class="preprocessor">#define TIM_OCFAST_ENABLE                  TIM_CCMR1_OC1FE                      </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span></div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___n___state.html#ga07bb7288fc4ed155301a3276908a23a0">  608</a></span><span class="preprocessor">#define TIM_OUTPUTNSTATE_DISABLE           0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___n___state.html#ga3323d8c81a7f3940aa290d160dea3e0d">  609</a></span><span class="preprocessor">#define TIM_OUTPUTNSTATE_ENABLE            TIM_CCER_CC1NE                       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno">  613</span></div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___polarity.html#ga5887380660b742f0045e9695914231b8">  617</a></span><span class="preprocessor">#define TIM_OCPOLARITY_HIGH                0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___polarity.html#ga1daff1574b0a2d17ccc9ae40a649ac37">  618</a></span><span class="preprocessor">#define TIM_OCPOLARITY_LOW                 TIM_CCER_CC1P                        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno">  622</span></div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___n___polarity.html#gad5dbeb61519e4fd55db3a4d136e96316">  626</a></span><span class="preprocessor">#define TIM_OCNPOLARITY_HIGH               0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___n___polarity.html#gadb44419c891a58e2cde11cc016f71a14">  627</a></span><span class="preprocessor">#define TIM_OCNPOLARITY_LOW                TIM_CCER_CC1NP                       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno">  631</span></div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___idle___state.html#gad251b83b0e33ddd0ed2fb35aa747ef78">  635</a></span><span class="preprocessor">#define TIM_OCIDLESTATE_SET                TIM_CR2_OIS1                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___idle___state.html#ga56505fe4142096454f1da97683ce8bc2">  636</a></span><span class="preprocessor">#define TIM_OCIDLESTATE_RESET              0x00000000U                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno">  640</span></div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___n___idle___state.html#ga1f781774c71822b2502633dfc849c5ea">  644</a></span><span class="preprocessor">#define TIM_OCNIDLESTATE_SET               TIM_CR2_OIS1N                        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare___n___idle___state.html#ga7586655652e3c3f1cb4af1ed59d25901">  645</a></span><span class="preprocessor">#define TIM_OCNIDLESTATE_RESET             0x00000000U                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno">  649</span></div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___polarity.html#gac79dd2a7ba97e5aac0bb9cbdc2d02ee1">  653</a></span><span class="preprocessor">#define  TIM_ICPOLARITY_RISING             TIM_INPUTCHANNELPOLARITY_RISING      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___polarity.html#gaec0c00d0b749e8c18101cefcce7c32f6">  654</a></span><span class="preprocessor">#define  TIM_ICPOLARITY_FALLING            TIM_INPUTCHANNELPOLARITY_FALLING     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___polarity.html#ga7a340c94a7bd0fa4a915afa8788e0b71">  655</a></span><span class="preprocessor">#define  TIM_ICPOLARITY_BOTHEDGE           TIM_INPUTCHANNELPOLARITY_BOTHEDGE    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno">  659</span></div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno"><a class="line" href="group___t_i_m___encoder___input___polarity.html#gac015dd6602fcaa8dec8208e773f5921c">  663</a></span><span class="preprocessor">#define  TIM_ENCODERINPUTPOLARITY_RISING   TIM_INPUTCHANNELPOLARITY_RISING      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"><a class="line" href="group___t_i_m___encoder___input___polarity.html#gaf0e5158977c8d2fab26ff6dcdbc84ae6">  664</a></span><span class="preprocessor">#define  TIM_ENCODERINPUTPOLARITY_FALLING  TIM_INPUTCHANNELPOLARITY_FALLING     </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno">  668</span></div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___selection.html#gac3be2fd9c576e84e0ebcfc7b3c0773a3">  672</a></span><span class="preprocessor">#define TIM_ICSELECTION_DIRECTTI           TIM_CCMR1_CC1S_0                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___selection.html#gab9754d4318abcd7fe725e3ee2e4496d4">  673</a></span><span class="preprocessor">#define TIM_ICSELECTION_INDIRECTTI         TIM_CCMR1_CC1S_1                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___selection.html#ga9e0191bbf1a82dd9150b9283c39276e7">  674</a></span><span class="preprocessor">#define TIM_ICSELECTION_TRC                TIM_CCMR1_CC1S                       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno">  678</span></div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___prescaler.html#ga8acb44abe3147d883685c1f9f1ce410e">  682</a></span><span class="preprocessor">#define TIM_ICPSC_DIV1                     0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___prescaler.html#ga1d8a7b66add914e2ddd910d2d700978f">  683</a></span><span class="preprocessor">#define TIM_ICPSC_DIV2                     TIM_CCMR1_IC1PSC_0                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___prescaler.html#gaf5a675046430fa0f0c95b0dac612828f">  684</a></span><span class="preprocessor">#define TIM_ICPSC_DIV4                     TIM_CCMR1_IC1PSC_1                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"><a class="line" href="group___t_i_m___input___capture___prescaler.html#ga5086cb03c89a5c67b199d20b605f00cb">  685</a></span><span class="preprocessor">#define TIM_ICPSC_DIV8                     TIM_CCMR1_IC1PSC                     </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno">  689</span></div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"><a class="line" href="group___t_i_m___one___pulse___mode.html#gab0447b341024e86145c7ce0dc2931fc6">  693</a></span><span class="preprocessor">#define TIM_OPMODE_SINGLE                  TIM_CR1_OPM                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"><a class="line" href="group___t_i_m___one___pulse___mode.html#ga14a7b6f95769c5b430f65189d9c7cfa3">  694</a></span><span class="preprocessor">#define TIM_OPMODE_REPETITIVE              0x00000000U                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno">  698</span></div>
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno"><a class="line" href="group___t_i_m___encoder___mode.html#gaff047abefa78b0f0a7bbd0f648905d7d">  702</a></span><span class="preprocessor">#define TIM_ENCODERMODE_TI1                      TIM_SMCR_SMS_0                                                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno"><a class="line" href="group___t_i_m___encoder___mode.html#ga9166e985a35358cb3ed942c2a36e018d">  703</a></span><span class="preprocessor">#define TIM_ENCODERMODE_TI2                      TIM_SMCR_SMS_1                                                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno"><a class="line" href="group___t_i_m___encoder___mode.html#ga8046f1021dc578551fcff88891239e67">  704</a></span><span class="preprocessor">#define TIM_ENCODERMODE_TI12                     (TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)                                   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno">  708</span></div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#ga6a48ecf88cae0402ff084202bfdd4f8e">  712</a></span><span class="preprocessor">#define TIM_IT_UPDATE                      TIM_DIER_UIE                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#ga02267a938ab4722c5013fffa447cf5a6">  713</a></span><span class="preprocessor">#define TIM_IT_CC1                         TIM_DIER_CC1IE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#ga60f6b6c424b62ca58d3fafd8f5955e4f">  714</a></span><span class="preprocessor">#define TIM_IT_CC2                         TIM_DIER_CC2IE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#ga6aef020aebafd9e585283fbbaf8b841f">  715</a></span><span class="preprocessor">#define TIM_IT_CC3                         TIM_DIER_CC3IE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#ga1dce7f1bc32a258f2964cb7c05f413a6">  716</a></span><span class="preprocessor">#define TIM_IT_CC4                         TIM_DIER_CC4IE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#gaeb7eff6c39922814e7ee47c0820c3d9f">  717</a></span><span class="preprocessor">#define TIM_IT_COM                         TIM_DIER_COMIE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#ga2a577f2eee61f101cf551d86c4d73333">  718</a></span><span class="preprocessor">#define TIM_IT_TRIGGER                     TIM_DIER_TIE                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"><a class="line" href="group___t_i_m___interrupt__definition.html#ga351a8f27975e0af87f4bb37a4feaa636">  719</a></span><span class="preprocessor">#define TIM_IT_BREAK                       TIM_DIER_BIE                         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno">  723</span></div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"><a class="line" href="group___t_i_m___commutation___source.html#gab2e11763b5e061a5b3056ac970f57ab1">  727</a></span><span class="preprocessor">#define TIM_COMMUTATION_TRGI              TIM_CR2_CCUS                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno"><a class="line" href="group___t_i_m___commutation___source.html#ga9cd117a69cbca219c1cf29e74746a496">  728</a></span><span class="preprocessor">#define TIM_COMMUTATION_SOFTWARE          0x00000000U                           </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno">  732</span></div>
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a__sources.html#ga45816ad15a4f533027eb202ac0b9aaf5">  736</a></span><span class="preprocessor">#define TIM_DMA_UPDATE                     TIM_DIER_UDE                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a__sources.html#ga33b93e8bb82fe8e167b9e9c962c54f83">  737</a></span><span class="preprocessor">#define TIM_DMA_CC1                        TIM_DIER_CC1DE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a__sources.html#ga792f73196a8e7424655592097d7a3fd5">  738</a></span><span class="preprocessor">#define TIM_DMA_CC2                        TIM_DIER_CC2DE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a__sources.html#ga3eb2dadbd3109bced45935fb53deeee1">  739</a></span><span class="preprocessor">#define TIM_DMA_CC3                        TIM_DIER_CC3DE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a__sources.html#ga59495cf79894dfe5e5b2029863aed956">  740</a></span><span class="preprocessor">#define TIM_DMA_CC4                        TIM_DIER_CC4DE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a__sources.html#gac5f4c56e944bda8ba0c23b97275020ba">  741</a></span><span class="preprocessor">#define TIM_DMA_COM                        TIM_DIER_COMDE                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a__sources.html#ga21912fd910242e0f63bf9b0953e41c63">  742</a></span><span class="preprocessor">#define TIM_DMA_TRIGGER                    TIM_DIER_TDE                         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span></div>
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno"><a class="line" href="group___t_i_m___c_c___d_m_a___request.html#ga76d609eb939a2594b34a3f1d86b71daa">  750</a></span><span class="preprocessor">#define TIM_CCDMAREQUEST_CC                 0x00000000U                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno"><a class="line" href="group___t_i_m___c_c___d_m_a___request.html#ga02de77c6d6d3474c33235e82b4081bb5">  751</a></span><span class="preprocessor">#define TIM_CCDMAREQUEST_UPDATE             TIM_CR2_CCDS                        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno">  755</span></div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gac45ce66cf33b4f324323fc3036917712">  759</a></span><span class="preprocessor">#define TIM_FLAG_UPDATE                    TIM_SR_UIF                           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gaa7eb8be054b9bd217a9abb1c8687cc55">  760</a></span><span class="preprocessor">#define TIM_FLAG_CC1                       TIM_SR_CC1IF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#ga9cae242f1c51b31839ffc5bc007c82a7">  761</a></span><span class="preprocessor">#define TIM_FLAG_CC2                       TIM_SR_CC2IF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#ga052c380f922219659810e4fceb574a7c">  762</a></span><span class="preprocessor">#define TIM_FLAG_CC3                       TIM_SR_CC3IF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gafd0dc57b56941f8b8250d66e289542db">  763</a></span><span class="preprocessor">#define TIM_FLAG_CC4                       TIM_SR_CC4IF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00764" name="l00764"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gab00cd0136baf5fc6a113a7395982ed81">  764</a></span><span class="preprocessor">#define TIM_FLAG_CC5                       TIM_SR_CC5IF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00765" name="l00765"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#ga6ec646997baea79b25d49e2b793c03d0">  765</a></span><span class="preprocessor">#define TIM_FLAG_CC6                       TIM_SR_CC6IF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gad454d70205ce5bbf3b3c0e7e43d6df62">  766</a></span><span class="preprocessor">#define TIM_FLAG_COM                       TIM_SR_COMIF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00767" name="l00767"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gacacf94fcf8b5ee4287f2d5a56dce91b7">  767</a></span><span class="preprocessor">#define TIM_FLAG_TRIGGER                   TIM_SR_TIF                           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00768" name="l00768"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#ga01aedbe0676064a4d47dee474ddb863d">  768</a></span><span class="preprocessor">#define TIM_FLAG_BREAK                     TIM_SR_BIF                           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00769" name="l00769"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#ga70cd9741ad1ec0358c8d4388a5082e1a">  769</a></span><span class="preprocessor">#define TIM_FLAG_BREAK2                    TIM_SR_B2IF                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gadea65e9637f032eee9d5693319d3ef62">  770</a></span><span class="preprocessor">#define TIM_FLAG_SYSTEM_BREAK              TIM_SR_SBIF                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#ga38dfb7d1ed00af77d70bc3be28500108">  771</a></span><span class="preprocessor">#define TIM_FLAG_CC1OF                     TIM_SR_CC1OF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#ga4df0c71d3e695c214d49802942e04590">  772</a></span><span class="preprocessor">#define TIM_FLAG_CC2OF                     TIM_SR_CC2OF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00773" name="l00773"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gac81f24eaffdf83c2db9d2e6078a00919">  773</a></span><span class="preprocessor">#define TIM_FLAG_CC3OF                     TIM_SR_CC3OF                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00774" name="l00774"></a><span class="lineno"><a class="line" href="group___t_i_m___flag__definition.html#gafc8b04654766d98ba2c6fed601895a20">  774</a></span><span class="preprocessor">#define TIM_FLAG_CC4OF                     TIM_SR_CC4OF                         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno">  778</span></div>
<div class="line"><a id="l00782" name="l00782"></a><span class="lineno"><a class="line" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">  782</a></span><span class="preprocessor">#define TIM_CHANNEL_1                      0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno"><a class="line" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">  783</a></span><span class="preprocessor">#define TIM_CHANNEL_2                      0x00000004U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno"><a class="line" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">  784</a></span><span class="preprocessor">#define TIM_CHANNEL_3                      0x00000008U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"><a class="line" href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">  785</a></span><span class="preprocessor">#define TIM_CHANNEL_4                      0x0000000CU                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno"><a class="line" href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">  786</a></span><span class="preprocessor">#define TIM_CHANNEL_5                      0x00000010U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"><a class="line" href="group___t_i_m___channel.html#gaf1042743f56a664b152ff0a03597807e">  787</a></span><span class="preprocessor">#define TIM_CHANNEL_6                      0x00000014U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno"><a class="line" href="group___t_i_m___channel.html#ga6abf8f9fc695b79d8781ca082dfb48bc">  788</a></span><span class="preprocessor">#define TIM_CHANNEL_ALL                    0x0000003CU                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno">  792</span></div>
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#ga9b398a201d8b6a4f200ebde86b1d8f3a">  796</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_INTERNAL    TIM_SMCR_ETPS_0      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gaa7743af6f4b8869cad0375526c6145ce">  797</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ETRMODE1    TIM_TS_ETRF          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gab133f0839cf6a4e858457d48f057eea8">  798</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ETRMODE2    TIM_SMCR_ETPS_1      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gad8c96337acf40356d82570cc4851ce2d">  799</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_TI1ED       TIM_TS_TI1F_ED       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#ga0a8708d4dab5cbd557a76efb362e13c0">  800</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_TI1         TIM_TS_TI1FP1        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#ga7950cf616702dd38d8f1ab5091efc012">  801</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_TI2         TIM_TS_TI2FP2        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#ga3310aa84f2f322eb77538997c070e56a">  802</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR0        TIM_TS_ITR0          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gae2da814f8d86491e7c344bb8d0f62b96">  803</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR1        TIM_TS_ITR1          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gafb779719a41769b14303da4977f6a5f1">  804</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR2        TIM_TS_ITR2          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#ga0cce2af04ad903ba683515c3772abb27">  805</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR3        TIM_TS_ITR3          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#ga869284b7205403b15475ddc5ce7597f3">  806</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR4        TIM_TS_ITR4          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gadc2f6e532af4c3b35fb38c9ff6f03c84">  807</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR5        TIM_TS_ITR5          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gaf62603f38c172601f1a502da24835116">  808</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR6        TIM_TS_ITR6          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#ga7f04b3d47791e081f4202ff370286f95">  809</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR7        TIM_TS_ITR7          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___source.html#gac1e30be36c703d8bb6a5dbc1b57675da">  810</a></span><span class="preprocessor">#define TIM_CLOCKSOURCE_ITR8        TIM_TS_ITR8          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno">  814</span></div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___polarity.html#gae4eb585c466c2b5709ae3795204e7d3f">  818</a></span><span class="preprocessor">#define TIM_CLOCKPOLARITY_INVERTED           TIM_ETRPOLARITY_INVERTED           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___polarity.html#gaca342866be2f9364274584688c733b60">  819</a></span><span class="preprocessor">#define TIM_CLOCKPOLARITY_NONINVERTED        TIM_ETRPOLARITY_NONINVERTED        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00820" name="l00820"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___polarity.html#ga13cc7002cfa5ee42607e1a3d85f77b10">  820</a></span><span class="preprocessor">#define TIM_CLOCKPOLARITY_RISING             TIM_INPUTCHANNELPOLARITY_RISING    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00821" name="l00821"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___polarity.html#ga9c17ca08b6179792f5ced4e607808c0a">  821</a></span><span class="preprocessor">#define TIM_CLOCKPOLARITY_FALLING            TIM_INPUTCHANNELPOLARITY_FALLING   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00822" name="l00822"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___polarity.html#ga89bf9a7962d09fb58ceae4d1e28e1c89">  822</a></span><span class="preprocessor">#define TIM_CLOCKPOLARITY_BOTHEDGE           TIM_INPUTCHANNELPOLARITY_BOTHEDGE  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno">  826</span></div>
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___prescaler.html#ga3462b444a059f001c6df33f55c756313">  830</a></span><span class="preprocessor">#define TIM_CLOCKPRESCALER_DIV1                 TIM_ETRPRESCALER_DIV1           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00831" name="l00831"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___prescaler.html#gac6457751c882644727982fda1fd029a5">  831</a></span><span class="preprocessor">#define TIM_CLOCKPRESCALER_DIV2                 TIM_ETRPRESCALER_DIV2           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___prescaler.html#ga11ce3686a0ee934384d0e4651823883d">  832</a></span><span class="preprocessor">#define TIM_CLOCKPRESCALER_DIV4                 TIM_ETRPRESCALER_DIV4           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno"><a class="line" href="group___t_i_m___clock___prescaler.html#ga86f147be5654631b21aa391a001401d5">  833</a></span><span class="preprocessor">#define TIM_CLOCKPRESCALER_DIV8                 TIM_ETRPRESCALER_DIV8           </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno">  837</span></div>
<div class="line"><a id="l00841" name="l00841"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___polarity.html#ga02e0d10a2cf90016d1a8be1931c6c67e">  841</a></span><span class="preprocessor">#define TIM_CLEARINPUTPOLARITY_INVERTED           TIM_ETRPOLARITY_INVERTED      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00842" name="l00842"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___polarity.html#ga53e02f7692e6996389b462219572f2a9">  842</a></span><span class="preprocessor">#define TIM_CLEARINPUTPOLARITY_NONINVERTED        TIM_ETRPOLARITY_NONINVERTED   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno">  846</span></div>
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___prescaler.html#gaf88d719dd5535b6b58275549c4512ec7">  850</a></span><span class="preprocessor">#define TIM_CLEARINPUTPRESCALER_DIV1              TIM_ETRPRESCALER_DIV1         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___prescaler.html#gae54b2f4ea04ef97f7c75755347edc8ba">  851</a></span><span class="preprocessor">#define TIM_CLEARINPUTPRESCALER_DIV2              TIM_ETRPRESCALER_DIV2         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___prescaler.html#gae3c3dea810bb9d83b532737f01a3213d">  852</a></span><span class="preprocessor">#define TIM_CLEARINPUTPRESCALER_DIV4              TIM_ETRPRESCALER_DIV4         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00853" name="l00853"></a><span class="lineno"><a class="line" href="group___t_i_m___clear_input___prescaler.html#ga34bc6cb7ee8800cc48b1ee6c536859cc">  853</a></span><span class="preprocessor">#define TIM_CLEARINPUTPRESCALER_DIV8              TIM_ETRPRESCALER_DIV8         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno">  857</span></div>
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno"><a class="line" href="group___t_i_m___o_s_s_r___off___state___selection__for___run__mode__state.html#ga5d21918f173eca946748a1fbc177daa5">  861</a></span><span class="preprocessor">#define TIM_OSSR_ENABLE                          TIM_BDTR_OSSR                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"><a class="line" href="group___t_i_m___o_s_s_r___off___state___selection__for___run__mode__state.html#gae11820b467ef6d74c90190c8cfce5e73">  862</a></span><span class="preprocessor">#define TIM_OSSR_DISABLE                         0x00000000U                    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno">  866</span></div>
<div class="line"><a id="l00870" name="l00870"></a><span class="lineno"><a class="line" href="group___t_i_m___o_s_s_i___off___state___selection__for___idle__mode__state.html#gae5b5901b177cd054cd5503630892680f">  870</a></span><span class="preprocessor">#define TIM_OSSI_ENABLE                          TIM_BDTR_OSSI                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00871" name="l00871"></a><span class="lineno"><a class="line" href="group___t_i_m___o_s_s_i___off___state___selection__for___idle__mode__state.html#gab1a20c65a3d24ef770f8a2a14c24130b">  871</a></span><span class="preprocessor">#define TIM_OSSI_DISABLE                         0x00000000U                    </span><span class="preprocessor"></span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00878" name="l00878"></a><span class="lineno"><a class="line" href="group___t_i_m___lock__level.html#ga304aece56a9391a4d9b1016144d98fbd">  878</a></span><span class="preprocessor">#define TIM_LOCKLEVEL_OFF                  0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00879" name="l00879"></a><span class="lineno"><a class="line" href="group___t_i_m___lock__level.html#ga46dc7705788ba2ce5135c43b998ef4dd">  879</a></span><span class="preprocessor">#define TIM_LOCKLEVEL_1                    TIM_BDTR_LOCK_0                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00880" name="l00880"></a><span class="lineno"><a class="line" href="group___t_i_m___lock__level.html#ga03a5ed2aded43ccfe7ab12a9dd53d251">  880</a></span><span class="preprocessor">#define TIM_LOCKLEVEL_2                    TIM_BDTR_LOCK_1                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00881" name="l00881"></a><span class="lineno"><a class="line" href="group___t_i_m___lock__level.html#gaa1afed375c27151608e388fdf4a57a13">  881</a></span><span class="preprocessor">#define TIM_LOCKLEVEL_3                    TIM_BDTR_LOCK                        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno">  885</span></div>
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"><a class="line" href="group___t_i_m___break___input__enable__disable.html#ga3f966247b03532b8d93f9bddc032d863">  889</a></span><span class="preprocessor">#define TIM_BREAK_ENABLE                   TIM_BDTR_BKE                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"><a class="line" href="group___t_i_m___break___input__enable__disable.html#ga8b34ce60f3f08c4b0d924a6546939994">  890</a></span><span class="preprocessor">#define TIM_BREAK_DISABLE                  0x00000000U                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00894" name="l00894"></a><span class="lineno">  894</span></div>
<div class="line"><a id="l00898" name="l00898"></a><span class="lineno"><a class="line" href="group___t_i_m___break___polarity.html#ga3e07cb0376c1bf561341dc8befb66208">  898</a></span><span class="preprocessor">#define TIM_BREAKPOLARITY_LOW              0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00899" name="l00899"></a><span class="lineno"><a class="line" href="group___t_i_m___break___polarity.html#ga97c30f1134accd61e3e42ce37e472700">  899</a></span><span class="preprocessor">#define TIM_BREAKPOLARITY_HIGH             TIM_BDTR_BKP                         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno">  903</span><span class="preprocessor">#if  defined(TIM_BDTR_BKBID)</span></div>
<div class="line"><a id="l00904" name="l00904"></a><span class="lineno">  904</span></div>
<div class="line"><a id="l00908" name="l00908"></a><span class="lineno">  908</span><span class="preprocessor">#define TIM_BREAK_AFMODE_INPUT             0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00909" name="l00909"></a><span class="lineno">  909</span><span class="preprocessor">#define TIM_BREAK_AFMODE_BIDIRECTIONAL     TIM_BDTR_BKBID                       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00913" name="l00913"></a><span class="lineno">  913</span><span class="preprocessor">#endif </span><span class="comment">/*TIM_BDTR_BKBID */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00914" name="l00914"></a><span class="lineno">  914</span></div>
<div class="line"><a id="l00918" name="l00918"></a><span class="lineno"><a class="line" href="group___t_i_m___break2___input__enable__disable.html#gac57b7f2a6a7dc5258e097f9ece77265b">  918</a></span><span class="preprocessor">#define TIM_BREAK2_DISABLE                 0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00919" name="l00919"></a><span class="lineno"><a class="line" href="group___t_i_m___break2___input__enable__disable.html#gafba1d741e2a78566f0bb15c435a63a4e">  919</a></span><span class="preprocessor">#define TIM_BREAK2_ENABLE                  TIM_BDTR_BK2E                        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00923" name="l00923"></a><span class="lineno">  923</span></div>
<div class="line"><a id="l00927" name="l00927"></a><span class="lineno"><a class="line" href="group___t_i_m___break2___polarity.html#gaf7996c33cc0bcaf750550358700008b2">  927</a></span><span class="preprocessor">#define TIM_BREAK2POLARITY_LOW             0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00928" name="l00928"></a><span class="lineno"><a class="line" href="group___t_i_m___break2___polarity.html#ga36a8e307c7c6c42ebf5f5d5d2fb259d4">  928</a></span><span class="preprocessor">#define TIM_BREAK2POLARITY_HIGH            TIM_BDTR_BK2P                        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno">  932</span><span class="preprocessor">#if defined(TIM_BDTR_BKBID)</span></div>
<div class="line"><a id="l00933" name="l00933"></a><span class="lineno">  933</span></div>
<div class="line"><a id="l00937" name="l00937"></a><span class="lineno">  937</span><span class="preprocessor">#define TIM_BREAK2_AFMODE_INPUT            0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00938" name="l00938"></a><span class="lineno">  938</span><span class="preprocessor">#define TIM_BREAK2_AFMODE_BIDIRECTIONAL    TIM_BDTR_BK2BID                      </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno">  942</span><span class="preprocessor">#endif </span><span class="comment">/* TIM_BDTR_BKBID */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno">  943</span></div>
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno"><a class="line" href="group___t_i_m___a_o_e___bit___set___reset.html#ga65b4336dee767fbe8d8cc4f980f6b18e">  947</a></span><span class="preprocessor">#define TIM_AUTOMATICOUTPUT_DISABLE        0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00948" name="l00948"></a><span class="lineno"><a class="line" href="group___t_i_m___a_o_e___bit___set___reset.html#ga09e7f3f768b0f122f13fd47771f07ddf">  948</a></span><span class="preprocessor">#define TIM_AUTOMATICOUTPUT_ENABLE         TIM_BDTR_AOE                         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00952" name="l00952"></a><span class="lineno">  952</span></div>
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno"><a class="line" href="group___t_i_m___group___channel5.html#gac092061c7424b2d05e4788399139a45b">  956</a></span><span class="preprocessor">#define TIM_GROUPCH5_NONE                  0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno"><a class="line" href="group___t_i_m___group___channel5.html#ga22bfca6a62255c5742471044f4b75815">  957</a></span><span class="preprocessor">#define TIM_GROUPCH5_OC1REFC               TIM_CCR5_GC5C1                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00958" name="l00958"></a><span class="lineno"><a class="line" href="group___t_i_m___group___channel5.html#gad6d87bba35658aa23e11770bf2b6f53b">  958</a></span><span class="preprocessor">#define TIM_GROUPCH5_OC2REFC               TIM_CCR5_GC5C2                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00959" name="l00959"></a><span class="lineno"><a class="line" href="group___t_i_m___group___channel5.html#gaf97b2fdd96918a9f224ce3524c77781b">  959</a></span><span class="preprocessor">#define TIM_GROUPCH5_OC3REFC               TIM_CCR5_GC5C3                       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00963" name="l00963"></a><span class="lineno">  963</span></div>
<div class="line"><a id="l00967" name="l00967"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#ga32a8e436f2c0818a657b0d3fcf4e872d">  967</a></span><span class="preprocessor">#define TIM_TRGO_RESET            0x00000000U                                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00968" name="l00968"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#ga4ac300b0fd24d1e6532e5961680a39a9">  968</a></span><span class="preprocessor">#define TIM_TRGO_ENABLE           TIM_CR2_MMS_0                                    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00969" name="l00969"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#ga27521aebd507e562fe7fba6dfc639a67">  969</a></span><span class="preprocessor">#define TIM_TRGO_UPDATE           TIM_CR2_MMS_1                                    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00970" name="l00970"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#ga80aa9a9c41de509d99fc4cb492d6513f">  970</a></span><span class="preprocessor">#define TIM_TRGO_OC1              (TIM_CR2_MMS_1 | TIM_CR2_MMS_0)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#gaed715aa7ec4ad0f7f5d82dde6d964178">  971</a></span><span class="preprocessor">#define TIM_TRGO_OC1REF           TIM_CR2_MMS_2                                    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#gaaedc4b3f4c5c3c8b45a2cf1b73e33c0a">  972</a></span><span class="preprocessor">#define TIM_TRGO_OC2REF           (TIM_CR2_MMS_2 | TIM_CR2_MMS_0)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#ga4bc4791f8b9560950d30078b96d08f55">  973</a></span><span class="preprocessor">#define TIM_TRGO_OC3REF           (TIM_CR2_MMS_2 | TIM_CR2_MMS_1)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection.html#ga7fe6228adec5d1b6f0a8ed8da111db4d">  974</a></span><span class="preprocessor">#define TIM_TRGO_OC4REF           (TIM_CR2_MMS_2 | TIM_CR2_MMS_1 | TIM_CR2_MMS_0)  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno">  978</span></div>
<div class="line"><a id="l00982" name="l00982"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga1cbae68386015bde2e2087787d31a77f">  982</a></span><span class="preprocessor">#define TIM_TRGO2_RESET                          0x00000000U                                                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00983" name="l00983"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#gab9344703b3c1a7936f6b500a6bc26cb9">  983</a></span><span class="preprocessor">#define TIM_TRGO2_ENABLE                         TIM_CR2_MMS2_0                                                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00984" name="l00984"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga7c09a032f333bd3c1896e53f8c476303">  984</a></span><span class="preprocessor">#define TIM_TRGO2_UPDATE                         TIM_CR2_MMS2_1                                                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00985" name="l00985"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga6199721bcb0eb5f89dcd0b1055f7376f">  985</a></span><span class="preprocessor">#define TIM_TRGO2_OC1                            (TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#gabe44de11cdf3f6d151b0d4a4945db092">  986</a></span><span class="preprocessor">#define TIM_TRGO2_OC1REF                         TIM_CR2_MMS2_2                                                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#gaaa5b56f4c834853ccf048399f77fbb3b">  987</a></span><span class="preprocessor">#define TIM_TRGO2_OC2REF                         (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_0)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00988" name="l00988"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga670369673955ede3e33074ad1897c64a">  988</a></span><span class="preprocessor">#define TIM_TRGO2_OC3REF                         (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#gaa307bb2aa7beb9f0ea43247a38ca7b36">  989</a></span><span class="preprocessor">#define TIM_TRGO2_OC4REF                         (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga9609da1787a7dcde257de6f96dabed4c">  990</a></span><span class="preprocessor">#define TIM_TRGO2_OC5REF                         TIM_CR2_MMS2_3                                                      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00991" name="l00991"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#gae88c0c9c55ffb739dada0bdea37a809d">  991</a></span><span class="preprocessor">#define TIM_TRGO2_OC6REF                         (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_0)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga0916f567135c5ee60031da2d146ad10b">  992</a></span><span class="preprocessor">#define TIM_TRGO2_OC4REF_RISINGFALLING           (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_1)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#gaefa63d8189e6e6fcd592fcf4af8aa416">  993</a></span><span class="preprocessor">#define TIM_TRGO2_OC6REF_RISINGFALLING           (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga367b1addfd2f36bb8ed29e8e70e57024">  994</a></span><span class="preprocessor">#define TIM_TRGO2_OC4REF_RISING_OC6REF_RISING    (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga202fe63f92ca564cb18995a11b3946b2">  995</a></span><span class="preprocessor">#define TIM_TRGO2_OC4REF_RISING_OC6REF_FALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 | TIM_CR2_MMS2_0)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00996" name="l00996"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga98299af57d50ec9a0dc1fbd3d4d04c39">  996</a></span><span class="preprocessor">#define TIM_TRGO2_OC5REF_RISING_OC6REF_RISING    (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 |TIM_CR2_MMS2_1)                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno"><a class="line" href="group___t_i_m___master___mode___selection__2.html#ga90aeea268dbf4be05e4d5f221f40da7c">  997</a></span><span class="preprocessor">#define TIM_TRGO2_OC5REF_RISING_OC6REF_FALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0) </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01001" name="l01001"></a><span class="lineno"> 1001</span></div>
<div class="line"><a id="l01005" name="l01005"></a><span class="lineno"><a class="line" href="group___t_i_m___master___slave___mode.html#gafdc0de07db4688aa8c87cf03220aaf28"> 1005</a></span><span class="preprocessor">#define TIM_MASTERSLAVEMODE_ENABLE         TIM_SMCR_MSM                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01006" name="l01006"></a><span class="lineno"><a class="line" href="group___t_i_m___master___slave___mode.html#ga58ff99ef1d6d6f187e3615f9d3ec3b8b"> 1006</a></span><span class="preprocessor">#define TIM_MASTERSLAVEMODE_DISABLE        0x00000000U                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"> 1010</span></div>
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"><a class="line" href="group___t_i_m___slave___mode.html#ga3b53e1a85d08f125df4371f86bdaf79b"> 1014</a></span><span class="preprocessor">#define TIM_SLAVEMODE_DISABLE                0x00000000U                                        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01015" name="l01015"></a><span class="lineno"><a class="line" href="group___t_i_m___slave___mode.html#ga9f28e350c0560dc550f5c0d2f8b39ba7"> 1015</a></span><span class="preprocessor">#define TIM_SLAVEMODE_RESET                  TIM_SMCR_SMS_2                                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01016" name="l01016"></a><span class="lineno"><a class="line" href="group___t_i_m___slave___mode.html#ga4501317fcd7649e5ff46db6fe69938e0"> 1016</a></span><span class="preprocessor">#define TIM_SLAVEMODE_GATED                  (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01017" name="l01017"></a><span class="lineno"><a class="line" href="group___t_i_m___slave___mode.html#ga12f8f7b4a16b438f54cf811f0bb0a8a4"> 1017</a></span><span class="preprocessor">#define TIM_SLAVEMODE_TRIGGER                (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)                  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01018" name="l01018"></a><span class="lineno"><a class="line" href="group___t_i_m___slave___mode.html#ga90dcf32a66dcb250b18da2ff56471328"> 1018</a></span><span class="preprocessor">#define TIM_SLAVEMODE_EXTERNAL1              (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01019" name="l01019"></a><span class="lineno"><a class="line" href="group___t_i_m___slave___mode.html#gad1d2132a7fc439038fd021fa8969e4d7"> 1019</a></span><span class="preprocessor">#define TIM_SLAVEMODE_COMBINED_RESETTRIGGER  TIM_SMCR_SMS_3                                     </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01023" name="l01023"></a><span class="lineno"> 1023</span></div>
<div class="line"><a id="l01027" name="l01027"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#gafae6b98b4b854fbfffd9a5ebc59c8f61"> 1027</a></span><span class="preprocessor">#define TIM_OCMODE_TIMING                   0x00000000U                                              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01028" name="l01028"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga111d1023e3ac6ef5544775c3863b4b12"> 1028</a></span><span class="preprocessor">#define TIM_OCMODE_ACTIVE                   TIM_CCMR1_OC1M_0                                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01029" name="l01029"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga890fbb44fd16f2bce962983352d23f53"> 1029</a></span><span class="preprocessor">#define TIM_OCMODE_INACTIVE                 TIM_CCMR1_OC1M_1                                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01030" name="l01030"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga368f80fad76018e2bf76084522e47536"> 1030</a></span><span class="preprocessor">#define TIM_OCMODE_TOGGLE                   (TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_0)                    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga766271da571888dfecd9130c3887e9c6"> 1031</a></span><span class="preprocessor">#define TIM_OCMODE_PWM1                     (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_1)                    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga88ce4251743c2c07e19fdd5a0a310580"> 1032</a></span><span class="preprocessor">#define TIM_OCMODE_PWM2                     (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_0) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga0a78cecaf884a89963e2a8e6af7e6128"> 1033</a></span><span class="preprocessor">#define TIM_OCMODE_FORCED_ACTIVE            (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_0)                    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01034" name="l01034"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga4572f724ce30ce45557f1dc5141afb3e"> 1034</a></span><span class="preprocessor">#define TIM_OCMODE_FORCED_INACTIVE          TIM_CCMR1_OC1M_2                                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01035" name="l01035"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga53168a4498dcb4956d9f84419a20841c"> 1035</a></span><span class="preprocessor">#define TIM_OCMODE_RETRIGERRABLE_OPM1      TIM_CCMR1_OC1M_3                                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01036" name="l01036"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga83f39ecc55403f37e930e6f14cb6cc76"> 1036</a></span><span class="preprocessor">#define TIM_OCMODE_RETRIGERRABLE_OPM2      (TIM_CCMR1_OC1M_3 | TIM_CCMR1_OC1M_0)                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01037" name="l01037"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#gaa13e0cb2370d61cfee1241498733b38b"> 1037</a></span><span class="preprocessor">#define TIM_OCMODE_COMBINED_PWM1           (TIM_CCMR1_OC1M_3 | TIM_CCMR1_OC1M_2)                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01038" name="l01038"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#gaf983419ff3d5bc0ca8d122bb8f321eff"> 1038</a></span><span class="preprocessor">#define TIM_OCMODE_COMBINED_PWM2           (TIM_CCMR1_OC1M_3 | TIM_CCMR1_OC1M_0 | TIM_CCMR1_OC1M_2)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01039" name="l01039"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#gac1c1f898f74a95c15bd1cee91c636a82"> 1039</a></span><span class="preprocessor">#define TIM_OCMODE_ASYMMETRIC_PWM1         (TIM_CCMR1_OC1M_3 | TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01040" name="l01040"></a><span class="lineno"><a class="line" href="group___t_i_m___output___compare__and___p_w_m__modes.html#ga475c44a172e981d0d96e51dd811d2705"> 1040</a></span><span class="preprocessor">#define TIM_OCMODE_ASYMMETRIC_PWM2         TIM_CCMR1_OC1M                                            </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01044" name="l01044"></a><span class="lineno"> 1044</span></div>
<div class="line"><a id="l01048" name="l01048"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gab7cf2b7db3956d4fd1e5a5d84f4891e7"> 1048</a></span><span class="preprocessor">#define TIM_TS_ITR0          0x00000000U                                                       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gad90fbca297153ca9c0112a67ea2c6cb3"> 1049</a></span><span class="preprocessor">#define TIM_TS_ITR1          TIM_SMCR_TS_0                                                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01050" name="l01050"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga8599ba58a5f911d648503c7ac55d4320"> 1050</a></span><span class="preprocessor">#define TIM_TS_ITR2          TIM_SMCR_TS_1                                                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01051" name="l01051"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga63183e611b91c5847040172c0069514d"> 1051</a></span><span class="preprocessor">#define TIM_TS_ITR3          (TIM_SMCR_TS_0 | TIM_SMCR_TS_1)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01052" name="l01052"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga97923e4805e15f379eafe4fa5f09fb44"> 1052</a></span><span class="preprocessor">#define TIM_TS_ITR4          (TIM_SMCR_TS_3)                                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01053" name="l01053"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gad0fea6ddb2a6c782a12cb7db0ce17df8"> 1053</a></span><span class="preprocessor">#define TIM_TS_ITR5          (TIM_SMCR_TS_0 | TIM_SMCR_TS_3)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01054" name="l01054"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga539cd36541e24f7009713a4c48b036f0"> 1054</a></span><span class="preprocessor">#define TIM_TS_ITR6          (TIM_SMCR_TS_1 | TIM_SMCR_TS_3)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01055" name="l01055"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga5f454db2459d03ac796190f09fa75bbc"> 1055</a></span><span class="preprocessor">#define TIM_TS_ITR7          (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_3)                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01056" name="l01056"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gab84e0eb124670693149c7f1b775fb87b"> 1056</a></span><span class="preprocessor">#define TIM_TS_ITR8          (TIM_SMCR_TS_2 | TIM_SMCR_TS_3)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01057" name="l01057"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga8ed963d761840dfed585f147d2cbb976"> 1057</a></span><span class="preprocessor">#define TIM_TS_ITR9          (TIM_SMCR_TS_0 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01058" name="l01058"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gabfe43c9fd555ce5e726c5a879b965ecc"> 1058</a></span><span class="preprocessor">#define TIM_TS_ITR10         (TIM_SMCR_TS_1 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01059" name="l01059"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gac97a5396aa30a45df480ccd8562ae470"> 1059</a></span><span class="preprocessor">#define TIM_TS_ITR11         (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_2 | TIM_SMCR_TS_3)   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01060" name="l01060"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga09c956f6d06ec782aff181ac65031d70"> 1060</a></span><span class="preprocessor">#define TIM_TS_ITR12         (TIM_SMCR_TS_4)                                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01061" name="l01061"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gac0a650df237ecf620a6b0b3d478c2186"> 1061</a></span><span class="preprocessor">#define TIM_TS_ITR13         (TIM_SMCR_TS_0 | TIM_SMCR_TS_4)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01062" name="l01062"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga8c89554efc693e679c94b5a749af123c"> 1062</a></span><span class="preprocessor">#define TIM_TS_TI1F_ED       TIM_SMCR_TS_2                                                     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01063" name="l01063"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga38d3514d54bcdb0ea8ac8bd91c5832b5"> 1063</a></span><span class="preprocessor">#define TIM_TS_TI1FP1        (TIM_SMCR_TS_0 | TIM_SMCR_TS_2)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01064" name="l01064"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga0ed58a269bccd3f22d19cc9a2ba3123f"> 1064</a></span><span class="preprocessor">#define TIM_TS_TI2FP2        (TIM_SMCR_TS_1 | TIM_SMCR_TS_2)                                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01065" name="l01065"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#gaece08e02e056613a882aa7ff0a6ccc2d"> 1065</a></span><span class="preprocessor">#define TIM_TS_ETRF          (TIM_SMCR_TS_0 | TIM_SMCR_TS_1 | TIM_SMCR_TS_2)                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01066" name="l01066"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___selection.html#ga257bee9dc9f2f71a73124dd8c2329480"> 1066</a></span><span class="preprocessor">#define TIM_TS_NONE          0x0000FFFFU                                                       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01070" name="l01070"></a><span class="lineno"> 1070</span></div>
<div class="line"><a id="l01074" name="l01074"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___polarity.html#ga64337379c3762dca395b812c65656de4"> 1074</a></span><span class="preprocessor">#define TIM_TRIGGERPOLARITY_INVERTED           TIM_ETRPOLARITY_INVERTED               </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01075" name="l01075"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___polarity.html#gad985881cdfddb63dfc52e6aaca776ff6"> 1075</a></span><span class="preprocessor">#define TIM_TRIGGERPOLARITY_NONINVERTED        TIM_ETRPOLARITY_NONINVERTED            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01076" name="l01076"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___polarity.html#ga64b521aa367d745ec00a763449634ace"> 1076</a></span><span class="preprocessor">#define TIM_TRIGGERPOLARITY_RISING             TIM_INPUTCHANNELPOLARITY_RISING        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01077" name="l01077"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___polarity.html#ga77df5988527ca829743dd57d2f867972"> 1077</a></span><span class="preprocessor">#define TIM_TRIGGERPOLARITY_FALLING            TIM_INPUTCHANNELPOLARITY_FALLING       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01078" name="l01078"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___polarity.html#gaa72eb9fd278575ff05aa3dd1c173dcc8"> 1078</a></span><span class="preprocessor">#define TIM_TRIGGERPOLARITY_BOTHEDGE           TIM_INPUTCHANNELPOLARITY_BOTHEDGE      </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01082" name="l01082"></a><span class="lineno"> 1082</span></div>
<div class="line"><a id="l01086" name="l01086"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___prescaler.html#ga02ab6f24e367cd972a1e0c1df326a7a3"> 1086</a></span><span class="preprocessor">#define TIM_TRIGGERPRESCALER_DIV1             TIM_ETRPRESCALER_DIV1             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01087" name="l01087"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___prescaler.html#ga1350c5659a17a66df69b444871907d83"> 1087</a></span><span class="preprocessor">#define TIM_TRIGGERPRESCALER_DIV2             TIM_ETRPRESCALER_DIV2             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01088" name="l01088"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___prescaler.html#ga195dd56e15ea4733e19518fb431dfb8d"> 1088</a></span><span class="preprocessor">#define TIM_TRIGGERPRESCALER_DIV4             TIM_ETRPRESCALER_DIV4             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01089" name="l01089"></a><span class="lineno"><a class="line" href="group___t_i_m___trigger___prescaler.html#ga78edbcf4caf228de0daa4b7f698f578f"> 1089</a></span><span class="preprocessor">#define TIM_TRIGGERPRESCALER_DIV8             TIM_ETRPRESCALER_DIV8             </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01093" name="l01093"></a><span class="lineno"> 1093</span></div>
<div class="line"><a id="l01097" name="l01097"></a><span class="lineno"><a class="line" href="group___t_i_m___t_i1___selection.html#gace6563bccf7635461f660fbed6241488"> 1097</a></span><span class="preprocessor">#define TIM_TI1SELECTION_CH1               0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01098" name="l01098"></a><span class="lineno"><a class="line" href="group___t_i_m___t_i1___selection.html#ga40dfcb0e3f2fdf0f45cbba227106310a"> 1098</a></span><span class="preprocessor">#define TIM_TI1SELECTION_XORCOMBINATION    TIM_CR2_TI1S                         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01102" name="l01102"></a><span class="lineno"> 1102</span></div>
<div class="line"><a id="l01106" name="l01106"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga74f07b4a10022d71f31ec6e1b2b69276"> 1106</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_1TRANSFER       0x00000000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01107" name="l01107"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gab114592091a00e0a6b9ae464485bd7bb"> 1107</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_2TRANSFERS      0x00000100U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01108" name="l01108"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gad91c14f0930803593ecdbd98002fea0a"> 1108</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_3TRANSFERS      0x00000200U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01109" name="l01109"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga9ada9605ae6ff6e4ada9701263bef812"> 1109</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_4TRANSFERS      0x00000300U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01110" name="l01110"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga740a6446c0a517cc3e235fddee45fef5"> 1110</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_5TRANSFERS      0x00000400U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01111" name="l01111"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga905c206d2a028e3fb92bcab8f9f7c869"> 1111</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_6TRANSFERS      0x00000500U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01112" name="l01112"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gae75055ac13b73baf9326f1d6157853a7"> 1112</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_7TRANSFERS      0x00000600U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01113" name="l01113"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gac6b24f5b7d9e1968b4bfcaeb24e718fc"> 1113</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_8TRANSFERS      0x00000700U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01114" name="l01114"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga73fff75a3f0247c61a84a42e8cb83572"> 1114</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_9TRANSFERS      0x00000800U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01115" name="l01115"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga793a89bb8a0669e274de451985186c53"> 1115</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_10TRANSFERS     0x00000900U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01116" name="l01116"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga79ab58b6a3b30c54c0758b381df22cb0"> 1116</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_11TRANSFERS     0x00000A00U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01117" name="l01117"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gaf52962b501b3a76d89df6274ed425947"> 1117</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_12TRANSFERS     0x00000B00U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01118" name="l01118"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga06a81eba628bea6495d86ebcc6021da0"> 1118</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_13TRANSFERS     0x00000C00U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01119" name="l01119"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga5f430b76c0aeded0a8d8be779f26ae52"> 1119</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_14TRANSFERS     0x00000D00U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01120" name="l01120"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#ga98a4d88c533178bc1b4347e4c5ce815a"> 1120</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_15TRANSFERS     0x00000E00U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01121" name="l01121"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gaf4b2a1fe12c52272544c21e17de1ed90"> 1121</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_16TRANSFERS     0x00000F00U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01122" name="l01122"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gad31c1fca7ed436a53efc4f290144584d"> 1122</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_17TRANSFERS     0x00001000U                          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01123" name="l01123"></a><span class="lineno"><a class="line" href="group___t_i_m___d_m_a___burst___length.html#gabb6f72b02ee1c8855de241cb0713e2ca"> 1123</a></span><span class="preprocessor">#define TIM_DMABURSTLENGTH_18TRANSFERS     0x00001100U                          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01127" name="l01127"></a><span class="lineno"> 1127</span></div>
<div class="line"><a id="l01131" name="l01131"></a><span class="lineno"><a class="line" href="group___d_m_a___handle__index.html#ga15f38cee11f8b2b5a85cbf4552ba140d"> 1131</a></span><span class="preprocessor">#define TIM_DMA_ID_UPDATE                ((uint16_t) 0x0000)       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01132" name="l01132"></a><span class="lineno"><a class="line" href="group___d_m_a___handle__index.html#ga7ca691eb5e29b0206d3390cc6e90079a"> 1132</a></span><span class="preprocessor">#define TIM_DMA_ID_CC1                   ((uint16_t) 0x0001)       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01133" name="l01133"></a><span class="lineno"><a class="line" href="group___d_m_a___handle__index.html#ga9c52f32d4bd21dd2d232900219f0a111"> 1133</a></span><span class="preprocessor">#define TIM_DMA_ID_CC2                   ((uint16_t) 0x0002)       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01134" name="l01134"></a><span class="lineno"><a class="line" href="group___d_m_a___handle__index.html#ga6e8145f305b54744bf2ef379a4315a40"> 1134</a></span><span class="preprocessor">#define TIM_DMA_ID_CC3                   ((uint16_t) 0x0003)       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01135" name="l01135"></a><span class="lineno"><a class="line" href="group___d_m_a___handle__index.html#ga1860c00b370435ff40d9e65f14a61706"> 1135</a></span><span class="preprocessor">#define TIM_DMA_ID_CC4                   ((uint16_t) 0x0004)       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01136" name="l01136"></a><span class="lineno"><a class="line" href="group___d_m_a___handle__index.html#gaa707c98bb11277665635ca7aef1e4193"> 1136</a></span><span class="preprocessor">#define TIM_DMA_ID_COMMUTATION           ((uint16_t) 0x0005)       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01137" name="l01137"></a><span class="lineno"><a class="line" href="group___d_m_a___handle__index.html#ga39900e5227e4d813a726a1df5d86671c"> 1137</a></span><span class="preprocessor">#define TIM_DMA_ID_TRIGGER               ((uint16_t) 0x0006)       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01141" name="l01141"></a><span class="lineno"> 1141</span></div>
<div class="line"><a id="l01145" name="l01145"></a><span class="lineno"><a class="line" href="group___channel___c_c___state.html#ga7b214df0d5c67138de7bc84e937909f0"> 1145</a></span><span class="preprocessor">#define TIM_CCx_ENABLE                   0x00000001U                            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01146" name="l01146"></a><span class="lineno"><a class="line" href="group___channel___c_c___state.html#ga5068d16e01778cd3bd09555013b2f4d3"> 1146</a></span><span class="preprocessor">#define TIM_CCx_DISABLE                  0x00000000U                            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01147" name="l01147"></a><span class="lineno"><a class="line" href="group___channel___c_c___state.html#ga69ecb0bf5dcd5ecf30af36d6fc00ea0d"> 1147</a></span><span class="preprocessor">#define TIM_CCxN_ENABLE                  0x00000004U                            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01148" name="l01148"></a><span class="lineno"><a class="line" href="group___channel___c_c___state.html#ga241183326d83407f7cc7dbd292533240"> 1148</a></span><span class="preprocessor">#define TIM_CCxN_DISABLE                 0x00000000U                            </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01152" name="l01152"></a><span class="lineno"> 1152</span></div>
<div class="line"><a id="l01156" name="l01156"></a><span class="lineno"><a class="line" href="group___t_i_m___break___system.html#ga353dd579e2ee67ce514f2bc218f64279"> 1156</a></span><span class="preprocessor">#define TIM_BREAK_SYSTEM_ECC                 SYSCFG_CFGR2_ECCL   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01157" name="l01157"></a><span class="lineno"><a class="line" href="group___t_i_m___break___system.html#ga389af93f9a1789e7de509991ef23cfec"> 1157</a></span><span class="preprocessor">#define TIM_BREAK_SYSTEM_PVD                 SYSCFG_CFGR2_PVDL   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01158" name="l01158"></a><span class="lineno"><a class="line" href="group___t_i_m___break___system.html#gaf359a8c2dde8fda9cb026926b8402dee"> 1158</a></span><span class="preprocessor">#define TIM_BREAK_SYSTEM_SRAM_PARITY_ERROR   SYSCFG_CFGR2_SPL    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l01159" name="l01159"></a><span class="lineno"><a class="line" href="group___t_i_m___break___system.html#ga9b84149e41633c45c50c5cdcbbd63dc0"> 1159</a></span><span class="preprocessor">#define TIM_BREAK_SYSTEM_LOCKUP              SYSCFG_CFGR2_CLL    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01163" name="l01163"></a><span class="lineno"> 1163</span></div>
<div class="line"><a id="l01167" name="l01167"></a><span class="lineno"> 1167</span><span class="comment">/* End of exported constants -------------------------------------------------*/</span></div>
<div class="line"><a id="l01168" name="l01168"></a><span class="lineno"> 1168</span> </div>
<div class="line"><a id="l01169" name="l01169"></a><span class="lineno"> 1169</span><span class="comment">/* Exported macros -----------------------------------------------------------*/</span></div>
<div class="line"><a id="l01173" name="l01173"></a><span class="lineno"> 1173</span></div>
<div class="line"><a id="l01178" name="l01178"></a><span class="lineno"> 1178</span><span class="preprocessor">#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)</span></div>
<div class="line"><a id="l01179" name="l01179"></a><span class="lineno"> 1179</span><span class="preprocessor">#define __HAL_TIM_RESET_HANDLE_STATE(__HANDLE__) do {                                                               \</span></div>
<div class="line"><a id="l01180" name="l01180"></a><span class="lineno"> 1180</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;State            = HAL_TIM_STATE_RESET;         \</span></div>
<div class="line"><a id="l01181" name="l01181"></a><span class="lineno"> 1181</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[0]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01182" name="l01182"></a><span class="lineno"> 1182</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[1]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01183" name="l01183"></a><span class="lineno"> 1183</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[2]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01184" name="l01184"></a><span class="lineno"> 1184</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[3]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01185" name="l01185"></a><span class="lineno"> 1185</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[4]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01186" name="l01186"></a><span class="lineno"> 1186</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[5]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01187" name="l01187"></a><span class="lineno"> 1187</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[0] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01188" name="l01188"></a><span class="lineno"> 1188</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[1] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01189" name="l01189"></a><span class="lineno"> 1189</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[2] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01190" name="l01190"></a><span class="lineno"> 1190</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[3] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01191" name="l01191"></a><span class="lineno"> 1191</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;DMABurstState    = HAL_DMA_BURST_STATE_RESET;   \</span></div>
<div class="line"><a id="l01192" name="l01192"></a><span class="lineno"> 1192</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;Base_MspInitCallback         = NULL;            \</span></div>
<div class="line"><a id="l01193" name="l01193"></a><span class="lineno"> 1193</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;Base_MspDeInitCallback       = NULL;            \</span></div>
<div class="line"><a id="l01194" name="l01194"></a><span class="lineno"> 1194</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;IC_MspInitCallback           = NULL;            \</span></div>
<div class="line"><a id="l01195" name="l01195"></a><span class="lineno"> 1195</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;IC_MspDeInitCallback         = NULL;            \</span></div>
<div class="line"><a id="l01196" name="l01196"></a><span class="lineno"> 1196</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;OC_MspInitCallback           = NULL;            \</span></div>
<div class="line"><a id="l01197" name="l01197"></a><span class="lineno"> 1197</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;OC_MspDeInitCallback         = NULL;            \</span></div>
<div class="line"><a id="l01198" name="l01198"></a><span class="lineno"> 1198</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;PWM_MspInitCallback          = NULL;            \</span></div>
<div class="line"><a id="l01199" name="l01199"></a><span class="lineno"> 1199</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;PWM_MspDeInitCallback        = NULL;            \</span></div>
<div class="line"><a id="l01200" name="l01200"></a><span class="lineno"> 1200</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;OnePulse_MspInitCallback     = NULL;            \</span></div>
<div class="line"><a id="l01201" name="l01201"></a><span class="lineno"> 1201</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;OnePulse_MspDeInitCallback   = NULL;            \</span></div>
<div class="line"><a id="l01202" name="l01202"></a><span class="lineno"> 1202</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;Encoder_MspInitCallback      = NULL;            \</span></div>
<div class="line"><a id="l01203" name="l01203"></a><span class="lineno"> 1203</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;Encoder_MspDeInitCallback    = NULL;            \</span></div>
<div class="line"><a id="l01204" name="l01204"></a><span class="lineno"> 1204</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;HallSensor_MspInitCallback   = NULL;            \</span></div>
<div class="line"><a id="l01205" name="l01205"></a><span class="lineno"> 1205</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;HallSensor_MspDeInitCallback = NULL;            \</span></div>
<div class="line"><a id="l01206" name="l01206"></a><span class="lineno"> 1206</span><span class="preprocessor">                                                     } while(0)</span></div>
<div class="line"><a id="l01207" name="l01207"></a><span class="lineno"> 1207</span><span class="preprocessor">#else</span></div>
<div class="foldopen" id="foldopen01208" data-start="" data-end="">
<div class="line"><a id="l01208" name="l01208"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gace20fd4e38231b9682fbc83a80ec19a3"> 1208</a></span><span class="preprocessor">#define __HAL_TIM_RESET_HANDLE_STATE(__HANDLE__) do {                                                               \</span></div>
<div class="line"><a id="l01209" name="l01209"></a><span class="lineno"> 1209</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;State            = HAL_TIM_STATE_RESET;         \</span></div>
<div class="line"><a id="l01210" name="l01210"></a><span class="lineno"> 1210</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[0]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01211" name="l01211"></a><span class="lineno"> 1211</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[1]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01212" name="l01212"></a><span class="lineno"> 1212</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[2]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01213" name="l01213"></a><span class="lineno"> 1213</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[3]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01214" name="l01214"></a><span class="lineno"> 1214</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[4]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01215" name="l01215"></a><span class="lineno"> 1215</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelState[5]  = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01216" name="l01216"></a><span class="lineno"> 1216</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[0] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01217" name="l01217"></a><span class="lineno"> 1217</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[1] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01218" name="l01218"></a><span class="lineno"> 1218</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[2] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01219" name="l01219"></a><span class="lineno"> 1219</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;ChannelNState[3] = HAL_TIM_CHANNEL_STATE_RESET; \</span></div>
<div class="line"><a id="l01220" name="l01220"></a><span class="lineno"> 1220</span><span class="preprocessor">                                                      (__HANDLE__)-&gt;DMABurstState    = HAL_DMA_BURST_STATE_RESET;   \</span></div>
<div class="line"><a id="l01221" name="l01221"></a><span class="lineno"> 1221</span><span class="preprocessor">                                                     } while(0)</span></div>
</div>
<div class="line"><a id="l01222" name="l01222"></a><span class="lineno"> 1222</span><span class="preprocessor">#endif </span><span class="comment">/* USE_HAL_TIM_REGISTER_CALLBACKS */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01223" name="l01223"></a><span class="lineno"> 1223</span></div>
<div class="line"><a id="l01229" name="l01229"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga1a90544705059e9f19f991651623b0c0"> 1229</a></span><span class="preprocessor">#define __HAL_TIM_ENABLE(__HANDLE__)                 ((__HANDLE__)-&gt;Instance-&gt;CR1|=(TIM_CR1_CEN))</span></div>
<div class="line"><a id="l01230" name="l01230"></a><span class="lineno"> 1230</span></div>
<div class="line"><a id="l01236" name="l01236"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga04890dcef3ed061854721a3672585607"> 1236</a></span><span class="preprocessor">#define __HAL_TIM_MOE_ENABLE(__HANDLE__)             ((__HANDLE__)-&gt;Instance-&gt;BDTR|=(TIM_BDTR_MOE))</span></div>
<div class="line"><a id="l01237" name="l01237"></a><span class="lineno"> 1237</span></div>
<div class="foldopen" id="foldopen01243" data-start="" data-end="">
<div class="line"><a id="l01243" name="l01243"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga6a5e653e0e06a04151b74eb1a5f96eb6"> 1243</a></span><span class="preprocessor">#define __HAL_TIM_DISABLE(__HANDLE__) \</span></div>
<div class="line"><a id="l01244" name="l01244"></a><span class="lineno"> 1244</span><span class="preprocessor">  do { \</span></div>
<div class="line"><a id="l01245" name="l01245"></a><span class="lineno"> 1245</span><span class="preprocessor">    if (((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxE_MASK) == 0UL) \</span></div>
<div class="line"><a id="l01246" name="l01246"></a><span class="lineno"> 1246</span><span class="preprocessor">    { \</span></div>
<div class="line"><a id="l01247" name="l01247"></a><span class="lineno"> 1247</span><span class="preprocessor">      if(((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxNE_MASK) == 0UL) \</span></div>
<div class="line"><a id="l01248" name="l01248"></a><span class="lineno"> 1248</span><span class="preprocessor">      { \</span></div>
<div class="line"><a id="l01249" name="l01249"></a><span class="lineno"> 1249</span><span class="preprocessor">        (__HANDLE__)-&gt;Instance-&gt;CR1 &amp;= ~(TIM_CR1_CEN); \</span></div>
<div class="line"><a id="l01250" name="l01250"></a><span class="lineno"> 1250</span><span class="preprocessor">      } \</span></div>
<div class="line"><a id="l01251" name="l01251"></a><span class="lineno"> 1251</span><span class="preprocessor">    } \</span></div>
<div class="line"><a id="l01252" name="l01252"></a><span class="lineno"> 1252</span><span class="preprocessor">  } while(0)</span></div>
</div>
<div class="line"><a id="l01253" name="l01253"></a><span class="lineno"> 1253</span></div>
<div class="foldopen" id="foldopen01261" data-start="" data-end="">
<div class="line"><a id="l01261" name="l01261"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga69d63e147faeca8909e9679f684c0325"> 1261</a></span><span class="preprocessor">#define __HAL_TIM_MOE_DISABLE(__HANDLE__) \</span></div>
<div class="line"><a id="l01262" name="l01262"></a><span class="lineno"> 1262</span><span class="preprocessor">  do { \</span></div>
<div class="line"><a id="l01263" name="l01263"></a><span class="lineno"> 1263</span><span class="preprocessor">    if (((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxE_MASK) == 0UL) \</span></div>
<div class="line"><a id="l01264" name="l01264"></a><span class="lineno"> 1264</span><span class="preprocessor">    { \</span></div>
<div class="line"><a id="l01265" name="l01265"></a><span class="lineno"> 1265</span><span class="preprocessor">      if(((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxNE_MASK) == 0UL) \</span></div>
<div class="line"><a id="l01266" name="l01266"></a><span class="lineno"> 1266</span><span class="preprocessor">      { \</span></div>
<div class="line"><a id="l01267" name="l01267"></a><span class="lineno"> 1267</span><span class="preprocessor">        (__HANDLE__)-&gt;Instance-&gt;BDTR &amp;= ~(TIM_BDTR_MOE); \</span></div>
<div class="line"><a id="l01268" name="l01268"></a><span class="lineno"> 1268</span><span class="preprocessor">      } \</span></div>
<div class="line"><a id="l01269" name="l01269"></a><span class="lineno"> 1269</span><span class="preprocessor">    } \</span></div>
<div class="line"><a id="l01270" name="l01270"></a><span class="lineno"> 1270</span><span class="preprocessor">  } while(0)</span></div>
</div>
<div class="line"><a id="l01271" name="l01271"></a><span class="lineno"> 1271</span></div>
<div class="line"><a id="l01278" name="l01278"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gaa5c4053e8e57dc234efecbb698287b55"> 1278</a></span><span class="preprocessor">#define __HAL_TIM_MOE_DISABLE_UNCONDITIONALLY(__HANDLE__)  (__HANDLE__)-&gt;Instance-&gt;BDTR &amp;= ~(TIM_BDTR_MOE)</span></div>
<div class="line"><a id="l01279" name="l01279"></a><span class="lineno"> 1279</span></div>
<div class="line"><a id="l01294" name="l01294"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga4d69943bc4716743c78e3194e259097e"> 1294</a></span><span class="preprocessor">#define __HAL_TIM_ENABLE_IT(__HANDLE__, __INTERRUPT__)    ((__HANDLE__)-&gt;Instance-&gt;DIER |= (__INTERRUPT__))</span></div>
<div class="line"><a id="l01295" name="l01295"></a><span class="lineno"> 1295</span></div>
<div class="line"><a id="l01310" name="l01310"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga31d67e905bc62e3142179dc4bbf8ba64"> 1310</a></span><span class="preprocessor">#define __HAL_TIM_DISABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)-&gt;Instance-&gt;DIER &amp;= ~(__INTERRUPT__))</span></div>
<div class="line"><a id="l01311" name="l01311"></a><span class="lineno"> 1311</span></div>
<div class="line"><a id="l01325" name="l01325"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gabb91ccd46cd7204c87170a1ea5b38135"> 1325</a></span><span class="preprocessor">#define __HAL_TIM_ENABLE_DMA(__HANDLE__, __DMA__)         ((__HANDLE__)-&gt;Instance-&gt;DIER |= (__DMA__))</span></div>
<div class="line"><a id="l01326" name="l01326"></a><span class="lineno"> 1326</span></div>
<div class="line"><a id="l01340" name="l01340"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga1a6e8b19efd23fd0295802d904c4702f"> 1340</a></span><span class="preprocessor">#define __HAL_TIM_DISABLE_DMA(__HANDLE__, __DMA__)        ((__HANDLE__)-&gt;Instance-&gt;DIER &amp;= ~(__DMA__))</span></div>
<div class="line"><a id="l01341" name="l01341"></a><span class="lineno"> 1341</span></div>
<div class="line"><a id="l01364" name="l01364"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga96d98c66ad9d85f00c148de99888ef19"> 1364</a></span><span class="preprocessor">#define __HAL_TIM_GET_FLAG(__HANDLE__, __FLAG__)          (((__HANDLE__)-&gt;Instance-&gt;SR &amp;(__FLAG__)) == (__FLAG__))</span></div>
<div class="line"><a id="l01365" name="l01365"></a><span class="lineno"> 1365</span></div>
<div class="line"><a id="l01388" name="l01388"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga2fe74db6b8cb4badd04ed48e0f5ac7b4"> 1388</a></span><span class="preprocessor">#define __HAL_TIM_CLEAR_FLAG(__HANDLE__, __FLAG__)        ((__HANDLE__)-&gt;Instance-&gt;SR = ~(__FLAG__))</span></div>
<div class="line"><a id="l01389" name="l01389"></a><span class="lineno"> 1389</span></div>
<div class="foldopen" id="foldopen01405" data-start="" data-end="">
<div class="line"><a id="l01405" name="l01405"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga644babf93470a6eee6bce8906c4da5c5"> 1405</a></span><span class="preprocessor">#define __HAL_TIM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)-&gt;Instance-&gt;DIER &amp; (__INTERRUPT__)) \</span></div>
<div class="line"><a id="l01406" name="l01406"></a><span class="lineno"> 1406</span><span class="preprocessor">                                                             == (__INTERRUPT__)) ? SET : RESET)</span></div>
</div>
<div class="line"><a id="l01407" name="l01407"></a><span class="lineno"> 1407</span></div>
<div class="line"><a id="l01422" name="l01422"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gaea68155ce77e591e0c2582def061d6f0"> 1422</a></span><span class="preprocessor">#define __HAL_TIM_CLEAR_IT(__HANDLE__, __INTERRUPT__)      ((__HANDLE__)-&gt;Instance-&gt;SR = ~(__INTERRUPT__))</span></div>
<div class="line"><a id="l01423" name="l01423"></a><span class="lineno"> 1423</span></div>
<div class="line"><a id="l01432" name="l01432"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga70b3690dfed282ade70d503801b8bfd0"> 1432</a></span><span class="preprocessor">#define __HAL_TIM_UIFREMAP_ENABLE(__HANDLE__)    (((__HANDLE__)-&gt;Instance-&gt;CR1 |= TIM_CR1_UIFREMAP))</span></div>
<div class="line"><a id="l01433" name="l01433"></a><span class="lineno"> 1433</span></div>
<div class="line"><a id="l01440" name="l01440"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga3ad980b67f6a9d43e97cd71603421ad8"> 1440</a></span><span class="preprocessor">#define __HAL_TIM_UIFREMAP_DISABLE(__HANDLE__)    (((__HANDLE__)-&gt;Instance-&gt;CR1 &amp;= ~TIM_CR1_UIFREMAP))</span></div>
<div class="line"><a id="l01441" name="l01441"></a><span class="lineno"> 1441</span></div>
<div class="line"><a id="l01448" name="l01448"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga12126f9a7655afcd862fc2e82686e9b9"> 1448</a></span><span class="preprocessor">#define __HAL_TIM_GET_UIFCPY(__COUNTER__)    (((__COUNTER__) &amp; (TIM_CNT_UIFCPY)) == (TIM_CNT_UIFCPY))</span></div>
<div class="line"><a id="l01449" name="l01449"></a><span class="lineno"> 1449</span></div>
<div class="line"><a id="l01457" name="l01457"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gac73f5e7669d92971830481e7298e98ba"> 1457</a></span><span class="preprocessor">#define __HAL_TIM_IS_TIM_COUNTING_DOWN(__HANDLE__)    (((__HANDLE__)-&gt;Instance-&gt;CR1 &amp;(TIM_CR1_DIR)) == (TIM_CR1_DIR))</span></div>
<div class="line"><a id="l01458" name="l01458"></a><span class="lineno"> 1458</span></div>
<div class="line"><a id="l01465" name="l01465"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gafdc5a06eab07e0c24e729fd492bdb27c"> 1465</a></span><span class="preprocessor">#define __HAL_TIM_SET_PRESCALER(__HANDLE__, __PRESC__)       ((__HANDLE__)-&gt;Instance-&gt;PSC = (__PRESC__))</span></div>
<div class="line"><a id="l01466" name="l01466"></a><span class="lineno"> 1466</span></div>
<div class="line"><a id="l01476" name="l01476"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga9746ac75e4cd25cec1a9ebac8cb82b97"> 1476</a></span><span class="preprocessor">#define __HAL_TIM_SET_COUNTER(__HANDLE__, __COUNTER__)  ((__HANDLE__)-&gt;Instance-&gt;CNT = (__COUNTER__))</span></div>
<div class="line"><a id="l01477" name="l01477"></a><span class="lineno"> 1477</span></div>
<div class="line"><a id="l01483" name="l01483"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gaf1af08014b9d06efbbb091d58d47c8ba"> 1483</a></span><span class="preprocessor">#define __HAL_TIM_GET_COUNTER(__HANDLE__)  ((__HANDLE__)-&gt;Instance-&gt;CNT)</span></div>
<div class="line"><a id="l01484" name="l01484"></a><span class="lineno"> 1484</span></div>
<div class="foldopen" id="foldopen01491" data-start="" data-end="">
<div class="line"><a id="l01491" name="l01491"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga1e6300cab1e34ecaaf490dc7d4812d69"> 1491</a></span><span class="preprocessor">#define __HAL_TIM_SET_AUTORELOAD(__HANDLE__, __AUTORELOAD__) \</span></div>
<div class="line"><a id="l01492" name="l01492"></a><span class="lineno"> 1492</span><span class="preprocessor">  do{                                                    \</span></div>
<div class="line"><a id="l01493" name="l01493"></a><span class="lineno"> 1493</span><span class="preprocessor">    (__HANDLE__)-&gt;Instance-&gt;ARR = (__AUTORELOAD__);  \</span></div>
<div class="line"><a id="l01494" name="l01494"></a><span class="lineno"> 1494</span><span class="preprocessor">    (__HANDLE__)-&gt;Init.Period = (__AUTORELOAD__);    \</span></div>
<div class="line"><a id="l01495" name="l01495"></a><span class="lineno"> 1495</span><span class="preprocessor">  } while(0)</span></div>
</div>
<div class="line"><a id="l01496" name="l01496"></a><span class="lineno"> 1496</span></div>
<div class="line"><a id="l01502" name="l01502"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gaa7a5c7645695bad15bacd402513a028a"> 1502</a></span><span class="preprocessor">#define __HAL_TIM_GET_AUTORELOAD(__HANDLE__)  ((__HANDLE__)-&gt;Instance-&gt;ARR)</span></div>
<div class="line"><a id="l01503" name="l01503"></a><span class="lineno"> 1503</span></div>
<div class="foldopen" id="foldopen01514" data-start="" data-end="">
<div class="line"><a id="l01514" name="l01514"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga8aa84d77c670890408092630f9b2bdc4"> 1514</a></span><span class="preprocessor">#define __HAL_TIM_SET_CLOCKDIVISION(__HANDLE__, __CKD__) \</span></div>
<div class="line"><a id="l01515" name="l01515"></a><span class="lineno"> 1515</span><span class="preprocessor">  do{                                                   \</span></div>
<div class="line"><a id="l01516" name="l01516"></a><span class="lineno"> 1516</span><span class="preprocessor">    (__HANDLE__)-&gt;Instance-&gt;CR1 &amp;= (~TIM_CR1_CKD);  \</span></div>
<div class="line"><a id="l01517" name="l01517"></a><span class="lineno"> 1517</span><span class="preprocessor">    (__HANDLE__)-&gt;Instance-&gt;CR1 |= (__CKD__);       \</span></div>
<div class="line"><a id="l01518" name="l01518"></a><span class="lineno"> 1518</span><span class="preprocessor">    (__HANDLE__)-&gt;Init.ClockDivision = (__CKD__);   \</span></div>
<div class="line"><a id="l01519" name="l01519"></a><span class="lineno"> 1519</span><span class="preprocessor">  } while(0)</span></div>
</div>
<div class="line"><a id="l01520" name="l01520"></a><span class="lineno"> 1520</span></div>
<div class="line"><a id="l01529" name="l01529"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gae6bc91bb5940bce52828c690f24001b8"> 1529</a></span><span class="preprocessor">#define __HAL_TIM_GET_CLOCKDIVISION(__HANDLE__)  ((__HANDLE__)-&gt;Instance-&gt;CR1 &amp; TIM_CR1_CKD)</span></div>
<div class="line"><a id="l01530" name="l01530"></a><span class="lineno"> 1530</span></div>
<div class="foldopen" id="foldopen01549" data-start="" data-end="">
<div class="line"><a id="l01549" name="l01549"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gaeb106399b95ef02cec502f58276a0e92"> 1549</a></span><span class="preprocessor">#define __HAL_TIM_SET_ICPRESCALER(__HANDLE__, __CHANNEL__, __ICPSC__) \</span></div>
<div class="line"><a id="l01550" name="l01550"></a><span class="lineno"> 1550</span><span class="preprocessor">  do{                                                    \</span></div>
<div class="line"><a id="l01551" name="l01551"></a><span class="lineno"> 1551</span><span class="preprocessor">    TIM_RESET_ICPRESCALERVALUE((__HANDLE__), (__CHANNEL__));  \</span></div>
<div class="line"><a id="l01552" name="l01552"></a><span class="lineno"> 1552</span><span class="preprocessor">    TIM_SET_ICPRESCALERVALUE((__HANDLE__), (__CHANNEL__), (__ICPSC__)); \</span></div>
<div class="line"><a id="l01553" name="l01553"></a><span class="lineno"> 1553</span><span class="preprocessor">  } while(0)</span></div>
</div>
<div class="line"><a id="l01554" name="l01554"></a><span class="lineno"> 1554</span></div>
<div class="foldopen" id="foldopen01570" data-start="" data-end="">
<div class="line"><a id="l01570" name="l01570"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gabfeec6b3c67a5747c7dbd20aff61d8e2"> 1570</a></span><span class="preprocessor">#define __HAL_TIM_GET_ICPRESCALER(__HANDLE__, __CHANNEL__)  \</span></div>
<div class="line"><a id="l01571" name="l01571"></a><span class="lineno"> 1571</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp; TIM_CCMR1_IC1PSC) :\</span></div>
<div class="line"><a id="l01572" name="l01572"></a><span class="lineno"> 1572</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? (((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp; TIM_CCMR1_IC2PSC) &gt;&gt; 8U) :\</span></div>
<div class="line"><a id="l01573" name="l01573"></a><span class="lineno"> 1573</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp; TIM_CCMR2_IC3PSC) :\</span></div>
<div class="line"><a id="l01574" name="l01574"></a><span class="lineno"> 1574</span><span class="preprocessor">   (((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp; TIM_CCMR2_IC4PSC)) &gt;&gt; 8U)</span></div>
</div>
<div class="line"><a id="l01575" name="l01575"></a><span class="lineno"> 1575</span></div>
<div class="foldopen" id="foldopen01590" data-start="" data-end="">
<div class="line"><a id="l01590" name="l01590"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga300d0c9624c3b072d3afeb7cef639b66"> 1590</a></span><span class="preprocessor">#define __HAL_TIM_SET_COMPARE(__HANDLE__, __CHANNEL__, __COMPARE__) \</span></div>
<div class="line"><a id="l01591" name="l01591"></a><span class="lineno"> 1591</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCR1 = (__COMPARE__)) :\</span></div>
<div class="line"><a id="l01592" name="l01592"></a><span class="lineno"> 1592</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCR2 = (__COMPARE__)) :\</span></div>
<div class="line"><a id="l01593" name="l01593"></a><span class="lineno"> 1593</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCR3 = (__COMPARE__)) :\</span></div>
<div class="line"><a id="l01594" name="l01594"></a><span class="lineno"> 1594</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? ((__HANDLE__)-&gt;Instance-&gt;CCR4 = (__COMPARE__)) :\</span></div>
<div class="line"><a id="l01595" name="l01595"></a><span class="lineno"> 1595</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? ((__HANDLE__)-&gt;Instance-&gt;CCR5 = (__COMPARE__)) :\</span></div>
<div class="line"><a id="l01596" name="l01596"></a><span class="lineno"> 1596</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCR6 = (__COMPARE__)))</span></div>
</div>
<div class="line"><a id="l01597" name="l01597"></a><span class="lineno"> 1597</span></div>
<div class="foldopen" id="foldopen01611" data-start="" data-end="">
<div class="line"><a id="l01611" name="l01611"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gaa40722f56910966e1da5241b610eed84"> 1611</a></span><span class="preprocessor">#define __HAL_TIM_GET_COMPARE(__HANDLE__, __CHANNEL__) \</span></div>
<div class="line"><a id="l01612" name="l01612"></a><span class="lineno"> 1612</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCR1) :\</span></div>
<div class="line"><a id="l01613" name="l01613"></a><span class="lineno"> 1613</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCR2) :\</span></div>
<div class="line"><a id="l01614" name="l01614"></a><span class="lineno"> 1614</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCR3) :\</span></div>
<div class="line"><a id="l01615" name="l01615"></a><span class="lineno"> 1615</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? ((__HANDLE__)-&gt;Instance-&gt;CCR4) :\</span></div>
<div class="line"><a id="l01616" name="l01616"></a><span class="lineno"> 1616</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? ((__HANDLE__)-&gt;Instance-&gt;CCR5) :\</span></div>
<div class="line"><a id="l01617" name="l01617"></a><span class="lineno"> 1617</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCR6))</span></div>
</div>
<div class="line"><a id="l01618" name="l01618"></a><span class="lineno"> 1618</span></div>
<div class="foldopen" id="foldopen01632" data-start="" data-end="">
<div class="line"><a id="l01632" name="l01632"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga199e848f0a301987a500faea0db2dd70"> 1632</a></span><span class="preprocessor">#define __HAL_TIM_ENABLE_OCxPRELOAD(__HANDLE__, __CHANNEL__)    \</span></div>
<div class="line"><a id="l01633" name="l01633"></a><span class="lineno"> 1633</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= TIM_CCMR1_OC1PE) :\</span></div>
<div class="line"><a id="l01634" name="l01634"></a><span class="lineno"> 1634</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= TIM_CCMR1_OC2PE) :\</span></div>
<div class="line"><a id="l01635" name="l01635"></a><span class="lineno"> 1635</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= TIM_CCMR2_OC3PE) :\</span></div>
<div class="line"><a id="l01636" name="l01636"></a><span class="lineno"> 1636</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= TIM_CCMR2_OC4PE) :\</span></div>
<div class="line"><a id="l01637" name="l01637"></a><span class="lineno"> 1637</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= TIM_CCMR3_OC5PE) :\</span></div>
<div class="line"><a id="l01638" name="l01638"></a><span class="lineno"> 1638</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= TIM_CCMR3_OC6PE))</span></div>
</div>
<div class="line"><a id="l01639" name="l01639"></a><span class="lineno"> 1639</span></div>
<div class="foldopen" id="foldopen01653" data-start="" data-end="">
<div class="line"><a id="l01653" name="l01653"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga3e0ec4eb797b54c408a3be067f41a2f8"> 1653</a></span><span class="preprocessor">#define __HAL_TIM_DISABLE_OCxPRELOAD(__HANDLE__, __CHANNEL__)    \</span></div>
<div class="line"><a id="l01654" name="l01654"></a><span class="lineno"> 1654</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= ~TIM_CCMR1_OC1PE) :\</span></div>
<div class="line"><a id="l01655" name="l01655"></a><span class="lineno"> 1655</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= ~TIM_CCMR1_OC2PE) :\</span></div>
<div class="line"><a id="l01656" name="l01656"></a><span class="lineno"> 1656</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= ~TIM_CCMR2_OC3PE) :\</span></div>
<div class="line"><a id="l01657" name="l01657"></a><span class="lineno"> 1657</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= ~TIM_CCMR2_OC4PE) :\</span></div>
<div class="line"><a id="l01658" name="l01658"></a><span class="lineno"> 1658</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= ~TIM_CCMR3_OC5PE) :\</span></div>
<div class="line"><a id="l01659" name="l01659"></a><span class="lineno"> 1659</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= ~TIM_CCMR3_OC6PE))</span></div>
</div>
<div class="line"><a id="l01660" name="l01660"></a><span class="lineno"> 1660</span></div>
<div class="foldopen" id="foldopen01678" data-start="" data-end="">
<div class="line"><a id="l01678" name="l01678"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga390795eb198214e5d4ed235ae3f751e4"> 1678</a></span><span class="preprocessor">#define __HAL_TIM_ENABLE_OCxFAST(__HANDLE__, __CHANNEL__)    \</span></div>
<div class="line"><a id="l01679" name="l01679"></a><span class="lineno"> 1679</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= TIM_CCMR1_OC1FE) :\</span></div>
<div class="line"><a id="l01680" name="l01680"></a><span class="lineno"> 1680</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= TIM_CCMR1_OC2FE) :\</span></div>
<div class="line"><a id="l01681" name="l01681"></a><span class="lineno"> 1681</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= TIM_CCMR2_OC3FE) :\</span></div>
<div class="line"><a id="l01682" name="l01682"></a><span class="lineno"> 1682</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= TIM_CCMR2_OC4FE) :\</span></div>
<div class="line"><a id="l01683" name="l01683"></a><span class="lineno"> 1683</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= TIM_CCMR3_OC5FE) :\</span></div>
<div class="line"><a id="l01684" name="l01684"></a><span class="lineno"> 1684</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= TIM_CCMR3_OC6FE))</span></div>
</div>
<div class="line"><a id="l01685" name="l01685"></a><span class="lineno"> 1685</span></div>
<div class="foldopen" id="foldopen01703" data-start="" data-end="">
<div class="line"><a id="l01703" name="l01703"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gab9f8dc78886759192b5f044c7b9b0aa7"> 1703</a></span><span class="preprocessor">#define __HAL_TIM_DISABLE_OCxFAST(__HANDLE__, __CHANNEL__)    \</span></div>
<div class="line"><a id="l01704" name="l01704"></a><span class="lineno"> 1704</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= ~TIM_CCMR1_OC1FE) :\</span></div>
<div class="line"><a id="l01705" name="l01705"></a><span class="lineno"> 1705</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= ~TIM_CCMR1_OC2FE) :\</span></div>
<div class="line"><a id="l01706" name="l01706"></a><span class="lineno"> 1706</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= ~TIM_CCMR2_OC3FE) :\</span></div>
<div class="line"><a id="l01707" name="l01707"></a><span class="lineno"> 1707</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= ~TIM_CCMR2_OC4FE) :\</span></div>
<div class="line"><a id="l01708" name="l01708"></a><span class="lineno"> 1708</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= ~TIM_CCMR3_OC5FE) :\</span></div>
<div class="line"><a id="l01709" name="l01709"></a><span class="lineno"> 1709</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= ~TIM_CCMR3_OC6FE))</span></div>
</div>
<div class="line"><a id="l01710" name="l01710"></a><span class="lineno"> 1710</span></div>
<div class="line"><a id="l01719" name="l01719"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#ga3b06856bd6d7e10cfff342b1726db51d"> 1719</a></span><span class="preprocessor">#define __HAL_TIM_URS_ENABLE(__HANDLE__)  ((__HANDLE__)-&gt;Instance-&gt;CR1|= TIM_CR1_URS)</span></div>
<div class="line"><a id="l01720" name="l01720"></a><span class="lineno"> 1720</span></div>
<div class="line"><a id="l01732" name="l01732"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gafacb551a4c537e62a0fe740b2f12236c"> 1732</a></span><span class="preprocessor">#define __HAL_TIM_URS_DISABLE(__HANDLE__)  ((__HANDLE__)-&gt;Instance-&gt;CR1&amp;=~TIM_CR1_URS)</span></div>
<div class="line"><a id="l01733" name="l01733"></a><span class="lineno"> 1733</span></div>
<div class="foldopen" id="foldopen01749" data-start="" data-end="">
<div class="line"><a id="l01749" name="l01749"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gac5d6989516caa67fae23a9329228cdc7"> 1749</a></span><span class="preprocessor">#define __HAL_TIM_SET_CAPTUREPOLARITY(__HANDLE__, __CHANNEL__, __POLARITY__)    \</span></div>
<div class="line"><a id="l01750" name="l01750"></a><span class="lineno"> 1750</span><span class="preprocessor">  do{                                                                     \</span></div>
<div class="line"><a id="l01751" name="l01751"></a><span class="lineno"> 1751</span><span class="preprocessor">    TIM_RESET_CAPTUREPOLARITY((__HANDLE__), (__CHANNEL__));               \</span></div>
<div class="line"><a id="l01752" name="l01752"></a><span class="lineno"> 1752</span><span class="preprocessor">    TIM_SET_CAPTUREPOLARITY((__HANDLE__), (__CHANNEL__), (__POLARITY__)); \</span></div>
<div class="line"><a id="l01753" name="l01753"></a><span class="lineno"> 1753</span><span class="preprocessor">  }while(0)</span></div>
</div>
<div class="line"><a id="l01754" name="l01754"></a><span class="lineno"> 1754</span></div>
<div class="foldopen" id="foldopen01763" data-start="" data-end="">
<div class="line"><a id="l01763" name="l01763"></a><span class="lineno"><a class="line" href="group___t_i_m___exported___macros.html#gace8f6dae3653111344f4ff6bbfde7d2a"> 1763</a></span><span class="preprocessor">#define __HAL_TIM_SELECT_CCDMAREQUEST(__HANDLE__, __CCDMA__)    \</span></div>
<div class="line"><a id="l01764" name="l01764"></a><span class="lineno"> 1764</span><span class="preprocessor">  MODIFY_REG((__HANDLE__)-&gt;Instance-&gt;CR2, TIM_CR2_CCDS, (__CCDMA__))</span></div>
</div>
<div class="line"><a id="l01765" name="l01765"></a><span class="lineno"> 1765</span></div>
<div class="line"><a id="l01769" name="l01769"></a><span class="lineno"> 1769</span><span class="comment">/* End of exported macros ----------------------------------------------------*/</span></div>
<div class="line"><a id="l01770" name="l01770"></a><span class="lineno"> 1770</span> </div>
<div class="line"><a id="l01771" name="l01771"></a><span class="lineno"> 1771</span><span class="comment">/* Private constants ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l01775" name="l01775"></a><span class="lineno"> 1775</span><span class="comment">/* The counter of a timer instance is disabled only if all the CCx and CCxN</span></div>
<div class="line"><a id="l01776" name="l01776"></a><span class="lineno"> 1776</span><span class="comment">   channels have been disabled */</span></div>
<div class="line"><a id="l01777" name="l01777"></a><span class="lineno"> 1777</span><span class="preprocessor">#define TIM_CCER_CCxE_MASK  ((uint32_t)(TIM_CCER_CC1E | TIM_CCER_CC2E | TIM_CCER_CC3E | TIM_CCER_CC4E))</span></div>
<div class="line"><a id="l01778" name="l01778"></a><span class="lineno"> 1778</span><span class="preprocessor">#define TIM_CCER_CCxNE_MASK ((uint32_t)(TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE))</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01782" name="l01782"></a><span class="lineno"> 1782</span><span class="comment">/* End of private constants --------------------------------------------------*/</span></div>
<div class="line"><a id="l01783" name="l01783"></a><span class="lineno"> 1783</span> </div>
<div class="line"><a id="l01784" name="l01784"></a><span class="lineno"> 1784</span><span class="comment">/* Private macros ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l01788" name="l01788"></a><span class="lineno"> 1788</span><span class="preprocessor">#define IS_TIM_CLEARINPUT_SOURCE(__MODE__)  (((__MODE__) == TIM_CLEARINPUTSOURCE_NONE)      || \</span></div>
<div class="line"><a id="l01789" name="l01789"></a><span class="lineno"> 1789</span><span class="preprocessor">                                             ((__MODE__) == TIM_CLEARINPUTSOURCE_ETR))</span></div>
<div class="line"><a id="l01790" name="l01790"></a><span class="lineno"> 1790</span> </div>
<div class="line"><a id="l01791" name="l01791"></a><span class="lineno"> 1791</span><span class="preprocessor">#define IS_TIM_DMA_BASE(__BASE__) (((__BASE__) == TIM_DMABASE_CR1)   || \</span></div>
<div class="line"><a id="l01792" name="l01792"></a><span class="lineno"> 1792</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CR2)   || \</span></div>
<div class="line"><a id="l01793" name="l01793"></a><span class="lineno"> 1793</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_SMCR)  || \</span></div>
<div class="line"><a id="l01794" name="l01794"></a><span class="lineno"> 1794</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_DIER)  || \</span></div>
<div class="line"><a id="l01795" name="l01795"></a><span class="lineno"> 1795</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_SR)    || \</span></div>
<div class="line"><a id="l01796" name="l01796"></a><span class="lineno"> 1796</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_EGR)   || \</span></div>
<div class="line"><a id="l01797" name="l01797"></a><span class="lineno"> 1797</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCMR1) || \</span></div>
<div class="line"><a id="l01798" name="l01798"></a><span class="lineno"> 1798</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCMR2) || \</span></div>
<div class="line"><a id="l01799" name="l01799"></a><span class="lineno"> 1799</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCER)  || \</span></div>
<div class="line"><a id="l01800" name="l01800"></a><span class="lineno"> 1800</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CNT)   || \</span></div>
<div class="line"><a id="l01801" name="l01801"></a><span class="lineno"> 1801</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_PSC)   || \</span></div>
<div class="line"><a id="l01802" name="l01802"></a><span class="lineno"> 1802</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_ARR)   || \</span></div>
<div class="line"><a id="l01803" name="l01803"></a><span class="lineno"> 1803</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_RCR)   || \</span></div>
<div class="line"><a id="l01804" name="l01804"></a><span class="lineno"> 1804</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCR1)  || \</span></div>
<div class="line"><a id="l01805" name="l01805"></a><span class="lineno"> 1805</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCR2)  || \</span></div>
<div class="line"><a id="l01806" name="l01806"></a><span class="lineno"> 1806</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCR3)  || \</span></div>
<div class="line"><a id="l01807" name="l01807"></a><span class="lineno"> 1807</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCR4)  || \</span></div>
<div class="line"><a id="l01808" name="l01808"></a><span class="lineno"> 1808</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_BDTR)  || \</span></div>
<div class="line"><a id="l01809" name="l01809"></a><span class="lineno"> 1809</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCMR3) || \</span></div>
<div class="line"><a id="l01810" name="l01810"></a><span class="lineno"> 1810</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCR5)  || \</span></div>
<div class="line"><a id="l01811" name="l01811"></a><span class="lineno"> 1811</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_CCR6)  || \</span></div>
<div class="line"><a id="l01812" name="l01812"></a><span class="lineno"> 1812</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_AF1)   || \</span></div>
<div class="line"><a id="l01813" name="l01813"></a><span class="lineno"> 1813</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_AF2)   || \</span></div>
<div class="line"><a id="l01814" name="l01814"></a><span class="lineno"> 1814</span><span class="preprocessor">                                   ((__BASE__) == TIM_DMABASE_TISEL))</span></div>
<div class="line"><a id="l01815" name="l01815"></a><span class="lineno"> 1815</span> </div>
<div class="line"><a id="l01816" name="l01816"></a><span class="lineno"> 1816</span> </div>
<div class="line"><a id="l01817" name="l01817"></a><span class="lineno"> 1817</span><span class="preprocessor">#define IS_TIM_EVENT_SOURCE(__SOURCE__) ((((__SOURCE__) &amp; 0xFFFFFE00U) == 0x00000000U) &amp;&amp; ((__SOURCE__) != 0x00000000U))</span></div>
<div class="line"><a id="l01818" name="l01818"></a><span class="lineno"> 1818</span> </div>
<div class="line"><a id="l01819" name="l01819"></a><span class="lineno"> 1819</span><span class="preprocessor">#define IS_TIM_COUNTER_MODE(__MODE__)      (((__MODE__) == TIM_COUNTERMODE_UP)              || \</span></div>
<div class="line"><a id="l01820" name="l01820"></a><span class="lineno"> 1820</span><span class="preprocessor">                                            ((__MODE__) == TIM_COUNTERMODE_DOWN)            || \</span></div>
<div class="line"><a id="l01821" name="l01821"></a><span class="lineno"> 1821</span><span class="preprocessor">                                            ((__MODE__) == TIM_COUNTERMODE_CENTERALIGNED1)  || \</span></div>
<div class="line"><a id="l01822" name="l01822"></a><span class="lineno"> 1822</span><span class="preprocessor">                                            ((__MODE__) == TIM_COUNTERMODE_CENTERALIGNED2)  || \</span></div>
<div class="line"><a id="l01823" name="l01823"></a><span class="lineno"> 1823</span><span class="preprocessor">                                            ((__MODE__) == TIM_COUNTERMODE_CENTERALIGNED3))</span></div>
<div class="line"><a id="l01824" name="l01824"></a><span class="lineno"> 1824</span> </div>
<div class="line"><a id="l01825" name="l01825"></a><span class="lineno"> 1825</span><span class="preprocessor">#define IS_TIM_UIFREMAP_MODE(__MODE__)     (((__MODE__) == TIM_UIFREMAP_DISABLE) || \</span></div>
<div class="line"><a id="l01826" name="l01826"></a><span class="lineno"> 1826</span><span class="preprocessor">                                            ((__MODE__) == TIM_UIFREMAP_ENABLE))</span></div>
<div class="line"><a id="l01827" name="l01827"></a><span class="lineno"> 1827</span> </div>
<div class="line"><a id="l01828" name="l01828"></a><span class="lineno"> 1828</span><span class="preprocessor">#define IS_TIM_CLOCKDIVISION_DIV(__DIV__)  (((__DIV__) == TIM_CLOCKDIVISION_DIV1) || \</span></div>
<div class="line"><a id="l01829" name="l01829"></a><span class="lineno"> 1829</span><span class="preprocessor">                                            ((__DIV__) == TIM_CLOCKDIVISION_DIV2) || \</span></div>
<div class="line"><a id="l01830" name="l01830"></a><span class="lineno"> 1830</span><span class="preprocessor">                                            ((__DIV__) == TIM_CLOCKDIVISION_DIV4))</span></div>
<div class="line"><a id="l01831" name="l01831"></a><span class="lineno"> 1831</span> </div>
<div class="line"><a id="l01832" name="l01832"></a><span class="lineno"> 1832</span><span class="preprocessor">#define IS_TIM_AUTORELOAD_PRELOAD(PRELOAD) (((PRELOAD) == TIM_AUTORELOAD_PRELOAD_DISABLE) || \</span></div>
<div class="line"><a id="l01833" name="l01833"></a><span class="lineno"> 1833</span><span class="preprocessor">                                            ((PRELOAD) == TIM_AUTORELOAD_PRELOAD_ENABLE))</span></div>
<div class="line"><a id="l01834" name="l01834"></a><span class="lineno"> 1834</span> </div>
<div class="line"><a id="l01835" name="l01835"></a><span class="lineno"> 1835</span><span class="preprocessor">#define IS_TIM_FAST_STATE(__STATE__)       (((__STATE__) == TIM_OCFAST_DISABLE) || \</span></div>
<div class="line"><a id="l01836" name="l01836"></a><span class="lineno"> 1836</span><span class="preprocessor">                                            ((__STATE__) == TIM_OCFAST_ENABLE))</span></div>
<div class="line"><a id="l01837" name="l01837"></a><span class="lineno"> 1837</span> </div>
<div class="line"><a id="l01838" name="l01838"></a><span class="lineno"> 1838</span><span class="preprocessor">#define IS_TIM_OC_POLARITY(__POLARITY__)   (((__POLARITY__) == TIM_OCPOLARITY_HIGH) || \</span></div>
<div class="line"><a id="l01839" name="l01839"></a><span class="lineno"> 1839</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_OCPOLARITY_LOW))</span></div>
<div class="line"><a id="l01840" name="l01840"></a><span class="lineno"> 1840</span> </div>
<div class="line"><a id="l01841" name="l01841"></a><span class="lineno"> 1841</span><span class="preprocessor">#define IS_TIM_OCN_POLARITY(__POLARITY__)  (((__POLARITY__) == TIM_OCNPOLARITY_HIGH) || \</span></div>
<div class="line"><a id="l01842" name="l01842"></a><span class="lineno"> 1842</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_OCNPOLARITY_LOW))</span></div>
<div class="line"><a id="l01843" name="l01843"></a><span class="lineno"> 1843</span> </div>
<div class="line"><a id="l01844" name="l01844"></a><span class="lineno"> 1844</span><span class="preprocessor">#define IS_TIM_OCIDLE_STATE(__STATE__)     (((__STATE__) == TIM_OCIDLESTATE_SET) || \</span></div>
<div class="line"><a id="l01845" name="l01845"></a><span class="lineno"> 1845</span><span class="preprocessor">                                            ((__STATE__) == TIM_OCIDLESTATE_RESET))</span></div>
<div class="line"><a id="l01846" name="l01846"></a><span class="lineno"> 1846</span> </div>
<div class="line"><a id="l01847" name="l01847"></a><span class="lineno"> 1847</span><span class="preprocessor">#define IS_TIM_OCNIDLE_STATE(__STATE__)    (((__STATE__) == TIM_OCNIDLESTATE_SET) || \</span></div>
<div class="line"><a id="l01848" name="l01848"></a><span class="lineno"> 1848</span><span class="preprocessor">                                            ((__STATE__) == TIM_OCNIDLESTATE_RESET))</span></div>
<div class="line"><a id="l01849" name="l01849"></a><span class="lineno"> 1849</span> </div>
<div class="line"><a id="l01850" name="l01850"></a><span class="lineno"> 1850</span><span class="preprocessor">#define IS_TIM_ENCODERINPUT_POLARITY(__POLARITY__)   (((__POLARITY__) == TIM_ENCODERINPUTPOLARITY_RISING)   || \</span></div>
<div class="line"><a id="l01851" name="l01851"></a><span class="lineno"> 1851</span><span class="preprocessor">                                                      ((__POLARITY__) == TIM_ENCODERINPUTPOLARITY_FALLING))</span></div>
<div class="line"><a id="l01852" name="l01852"></a><span class="lineno"> 1852</span> </div>
<div class="line"><a id="l01853" name="l01853"></a><span class="lineno"> 1853</span><span class="preprocessor">#define IS_TIM_IC_POLARITY(__POLARITY__)   (((__POLARITY__) == TIM_ICPOLARITY_RISING)   || \</span></div>
<div class="line"><a id="l01854" name="l01854"></a><span class="lineno"> 1854</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_ICPOLARITY_FALLING)  || \</span></div>
<div class="line"><a id="l01855" name="l01855"></a><span class="lineno"> 1855</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_ICPOLARITY_BOTHEDGE))</span></div>
<div class="line"><a id="l01856" name="l01856"></a><span class="lineno"> 1856</span> </div>
<div class="line"><a id="l01857" name="l01857"></a><span class="lineno"> 1857</span><span class="preprocessor">#define IS_TIM_IC_SELECTION(__SELECTION__) (((__SELECTION__) == TIM_ICSELECTION_DIRECTTI) || \</span></div>
<div class="line"><a id="l01858" name="l01858"></a><span class="lineno"> 1858</span><span class="preprocessor">                                            ((__SELECTION__) == TIM_ICSELECTION_INDIRECTTI) || \</span></div>
<div class="line"><a id="l01859" name="l01859"></a><span class="lineno"> 1859</span><span class="preprocessor">                                            ((__SELECTION__) == TIM_ICSELECTION_TRC))</span></div>
<div class="line"><a id="l01860" name="l01860"></a><span class="lineno"> 1860</span> </div>
<div class="line"><a id="l01861" name="l01861"></a><span class="lineno"> 1861</span><span class="preprocessor">#define IS_TIM_IC_PRESCALER(__PRESCALER__) (((__PRESCALER__) == TIM_ICPSC_DIV1) || \</span></div>
<div class="line"><a id="l01862" name="l01862"></a><span class="lineno"> 1862</span><span class="preprocessor">                                            ((__PRESCALER__) == TIM_ICPSC_DIV2) || \</span></div>
<div class="line"><a id="l01863" name="l01863"></a><span class="lineno"> 1863</span><span class="preprocessor">                                            ((__PRESCALER__) == TIM_ICPSC_DIV4) || \</span></div>
<div class="line"><a id="l01864" name="l01864"></a><span class="lineno"> 1864</span><span class="preprocessor">                                            ((__PRESCALER__) == TIM_ICPSC_DIV8))</span></div>
<div class="line"><a id="l01865" name="l01865"></a><span class="lineno"> 1865</span> </div>
<div class="line"><a id="l01866" name="l01866"></a><span class="lineno"> 1866</span><span class="preprocessor">#define IS_TIM_CCX_CHANNEL(__INSTANCE__, __CHANNEL__) (IS_TIM_CCX_INSTANCE(__INSTANCE__, __CHANNEL__) &amp;&amp; \</span></div>
<div class="line"><a id="l01867" name="l01867"></a><span class="lineno"> 1867</span><span class="preprocessor">                                                       ((__CHANNEL__) != (TIM_CHANNEL_5)) &amp;&amp; \</span></div>
<div class="line"><a id="l01868" name="l01868"></a><span class="lineno"> 1868</span><span class="preprocessor">                                                       ((__CHANNEL__) != (TIM_CHANNEL_6)))</span></div>
<div class="line"><a id="l01869" name="l01869"></a><span class="lineno"> 1869</span> </div>
<div class="line"><a id="l01870" name="l01870"></a><span class="lineno"> 1870</span><span class="preprocessor">#define IS_TIM_OPM_MODE(__MODE__)          (((__MODE__) == TIM_OPMODE_SINGLE) || \</span></div>
<div class="line"><a id="l01871" name="l01871"></a><span class="lineno"> 1871</span><span class="preprocessor">                                            ((__MODE__) == TIM_OPMODE_REPETITIVE))</span></div>
<div class="line"><a id="l01872" name="l01872"></a><span class="lineno"> 1872</span> </div>
<div class="line"><a id="l01873" name="l01873"></a><span class="lineno"> 1873</span><span class="preprocessor">#define IS_TIM_ENCODER_MODE(__MODE__)      (((__MODE__) == TIM_ENCODERMODE_TI1) || \</span></div>
<div class="line"><a id="l01874" name="l01874"></a><span class="lineno"> 1874</span><span class="preprocessor">                                            ((__MODE__) == TIM_ENCODERMODE_TI2) || \</span></div>
<div class="line"><a id="l01875" name="l01875"></a><span class="lineno"> 1875</span><span class="preprocessor">                                            ((__MODE__) == TIM_ENCODERMODE_TI12))</span></div>
<div class="line"><a id="l01876" name="l01876"></a><span class="lineno"> 1876</span> </div>
<div class="line"><a id="l01877" name="l01877"></a><span class="lineno"> 1877</span><span class="preprocessor">#define IS_TIM_DMA_SOURCE(__SOURCE__) ((((__SOURCE__) &amp; 0xFFFF80FFU) == 0x00000000U) &amp;&amp; ((__SOURCE__) != 0x00000000U))</span></div>
<div class="line"><a id="l01878" name="l01878"></a><span class="lineno"> 1878</span> </div>
<div class="line"><a id="l01879" name="l01879"></a><span class="lineno"> 1879</span><span class="preprocessor">#define IS_TIM_CHANNELS(__CHANNEL__)       (((__CHANNEL__) == TIM_CHANNEL_1) || \</span></div>
<div class="line"><a id="l01880" name="l01880"></a><span class="lineno"> 1880</span><span class="preprocessor">                                            ((__CHANNEL__) == TIM_CHANNEL_2) || \</span></div>
<div class="line"><a id="l01881" name="l01881"></a><span class="lineno"> 1881</span><span class="preprocessor">                                            ((__CHANNEL__) == TIM_CHANNEL_3) || \</span></div>
<div class="line"><a id="l01882" name="l01882"></a><span class="lineno"> 1882</span><span class="preprocessor">                                            ((__CHANNEL__) == TIM_CHANNEL_4) || \</span></div>
<div class="line"><a id="l01883" name="l01883"></a><span class="lineno"> 1883</span><span class="preprocessor">                                            ((__CHANNEL__) == TIM_CHANNEL_5) || \</span></div>
<div class="line"><a id="l01884" name="l01884"></a><span class="lineno"> 1884</span><span class="preprocessor">                                            ((__CHANNEL__) == TIM_CHANNEL_6) || \</span></div>
<div class="line"><a id="l01885" name="l01885"></a><span class="lineno"> 1885</span><span class="preprocessor">                                            ((__CHANNEL__) == TIM_CHANNEL_ALL))</span></div>
<div class="line"><a id="l01886" name="l01886"></a><span class="lineno"> 1886</span> </div>
<div class="line"><a id="l01887" name="l01887"></a><span class="lineno"> 1887</span><span class="preprocessor">#define IS_TIM_OPM_CHANNELS(__CHANNEL__)   (((__CHANNEL__) == TIM_CHANNEL_1) || \</span></div>
<div class="line"><a id="l01888" name="l01888"></a><span class="lineno"> 1888</span><span class="preprocessor">                                            ((__CHANNEL__) == TIM_CHANNEL_2))</span></div>
<div class="line"><a id="l01889" name="l01889"></a><span class="lineno"> 1889</span> </div>
<div class="line"><a id="l01890" name="l01890"></a><span class="lineno"> 1890</span><span class="preprocessor">#define IS_TIM_PERIOD(__HANDLE__, __PERIOD__) ((IS_TIM_32B_COUNTER_INSTANCE(((__HANDLE__)-&gt;Instance)) == 0U) ? \</span></div>
<div class="line"><a id="l01891" name="l01891"></a><span class="lineno"> 1891</span><span class="preprocessor">                                               (((__PERIOD__) &gt; 0U) &amp;&amp; ((__PERIOD__) &lt;= 0x0000FFFFU)) :        \</span></div>
<div class="line"><a id="l01892" name="l01892"></a><span class="lineno"> 1892</span><span class="preprocessor">                                               ((__PERIOD__) &gt; 0U))</span></div>
<div class="line"><a id="l01893" name="l01893"></a><span class="lineno"> 1893</span> </div>
<div class="line"><a id="l01894" name="l01894"></a><span class="lineno"> 1894</span><span class="preprocessor">#define IS_TIM_COMPLEMENTARY_CHANNELS(__CHANNEL__) (((__CHANNEL__) == TIM_CHANNEL_1) || \</span></div>
<div class="line"><a id="l01895" name="l01895"></a><span class="lineno"> 1895</span><span class="preprocessor">                                                    ((__CHANNEL__) == TIM_CHANNEL_2) || \</span></div>
<div class="line"><a id="l01896" name="l01896"></a><span class="lineno"> 1896</span><span class="preprocessor">                                                    ((__CHANNEL__) == TIM_CHANNEL_3))</span></div>
<div class="line"><a id="l01897" name="l01897"></a><span class="lineno"> 1897</span> </div>
<div class="line"><a id="l01898" name="l01898"></a><span class="lineno"> 1898</span><span class="preprocessor">#define IS_TIM_CLOCKSOURCE(__CLOCK__) (((__CLOCK__) == TIM_CLOCKSOURCE_INTERNAL) || \</span></div>
<div class="line"><a id="l01899" name="l01899"></a><span class="lineno"> 1899</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_ETRMODE1) || \</span></div>
<div class="line"><a id="l01900" name="l01900"></a><span class="lineno"> 1900</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_ETRMODE2) || \</span></div>
<div class="line"><a id="l01901" name="l01901"></a><span class="lineno"> 1901</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_TI1ED)    || \</span></div>
<div class="line"><a id="l01902" name="l01902"></a><span class="lineno"> 1902</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_TI1)      || \</span></div>
<div class="line"><a id="l01903" name="l01903"></a><span class="lineno"> 1903</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_TI2)      || \</span></div>
<div class="line"><a id="l01904" name="l01904"></a><span class="lineno"> 1904</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_ITR0)     || \</span></div>
<div class="line"><a id="l01905" name="l01905"></a><span class="lineno"> 1905</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_ITR1)     || \</span></div>
<div class="line"><a id="l01906" name="l01906"></a><span class="lineno"> 1906</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_ITR2)     || \</span></div>
<div class="line"><a id="l01907" name="l01907"></a><span class="lineno"> 1907</span><span class="preprocessor">                                       ((__CLOCK__) == TIM_CLOCKSOURCE_ITR3))</span></div>
<div class="line"><a id="l01908" name="l01908"></a><span class="lineno"> 1908</span> </div>
<div class="line"><a id="l01909" name="l01909"></a><span class="lineno"> 1909</span><span class="preprocessor">#define IS_TIM_CLOCKPOLARITY(__POLARITY__) (((__POLARITY__) == TIM_CLOCKPOLARITY_INVERTED)    || \</span></div>
<div class="line"><a id="l01910" name="l01910"></a><span class="lineno"> 1910</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_CLOCKPOLARITY_NONINVERTED) || \</span></div>
<div class="line"><a id="l01911" name="l01911"></a><span class="lineno"> 1911</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_CLOCKPOLARITY_RISING)      || \</span></div>
<div class="line"><a id="l01912" name="l01912"></a><span class="lineno"> 1912</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_CLOCKPOLARITY_FALLING)     || \</span></div>
<div class="line"><a id="l01913" name="l01913"></a><span class="lineno"> 1913</span><span class="preprocessor">                                            ((__POLARITY__) == TIM_CLOCKPOLARITY_BOTHEDGE))</span></div>
<div class="line"><a id="l01914" name="l01914"></a><span class="lineno"> 1914</span> </div>
<div class="line"><a id="l01915" name="l01915"></a><span class="lineno"> 1915</span><span class="preprocessor">#define IS_TIM_CLOCKPRESCALER(__PRESCALER__) (((__PRESCALER__) == TIM_CLOCKPRESCALER_DIV1) || \</span></div>
<div class="line"><a id="l01916" name="l01916"></a><span class="lineno"> 1916</span><span class="preprocessor">                                              ((__PRESCALER__) == TIM_CLOCKPRESCALER_DIV2) || \</span></div>
<div class="line"><a id="l01917" name="l01917"></a><span class="lineno"> 1917</span><span class="preprocessor">                                              ((__PRESCALER__) == TIM_CLOCKPRESCALER_DIV4) || \</span></div>
<div class="line"><a id="l01918" name="l01918"></a><span class="lineno"> 1918</span><span class="preprocessor">                                              ((__PRESCALER__) == TIM_CLOCKPRESCALER_DIV8))</span></div>
<div class="line"><a id="l01919" name="l01919"></a><span class="lineno"> 1919</span> </div>
<div class="line"><a id="l01920" name="l01920"></a><span class="lineno"> 1920</span><span class="preprocessor">#define IS_TIM_CLOCKFILTER(__ICFILTER__)      ((__ICFILTER__) &lt;= 0xFU)</span></div>
<div class="line"><a id="l01921" name="l01921"></a><span class="lineno"> 1921</span> </div>
<div class="line"><a id="l01922" name="l01922"></a><span class="lineno"> 1922</span><span class="preprocessor">#define IS_TIM_CLEARINPUT_POLARITY(__POLARITY__) (((__POLARITY__) == TIM_CLEARINPUTPOLARITY_INVERTED) || \</span></div>
<div class="line"><a id="l01923" name="l01923"></a><span class="lineno"> 1923</span><span class="preprocessor">                                                  ((__POLARITY__) == TIM_CLEARINPUTPOLARITY_NONINVERTED))</span></div>
<div class="line"><a id="l01924" name="l01924"></a><span class="lineno"> 1924</span> </div>
<div class="line"><a id="l01925" name="l01925"></a><span class="lineno"> 1925</span><span class="preprocessor">#define IS_TIM_CLEARINPUT_PRESCALER(__PRESCALER__) (((__PRESCALER__) == TIM_CLEARINPUTPRESCALER_DIV1) || \</span></div>
<div class="line"><a id="l01926" name="l01926"></a><span class="lineno"> 1926</span><span class="preprocessor">                                                    ((__PRESCALER__) == TIM_CLEARINPUTPRESCALER_DIV2) || \</span></div>
<div class="line"><a id="l01927" name="l01927"></a><span class="lineno"> 1927</span><span class="preprocessor">                                                    ((__PRESCALER__) == TIM_CLEARINPUTPRESCALER_DIV4) || \</span></div>
<div class="line"><a id="l01928" name="l01928"></a><span class="lineno"> 1928</span><span class="preprocessor">                                                    ((__PRESCALER__) == TIM_CLEARINPUTPRESCALER_DIV8))</span></div>
<div class="line"><a id="l01929" name="l01929"></a><span class="lineno"> 1929</span> </div>
<div class="line"><a id="l01930" name="l01930"></a><span class="lineno"> 1930</span><span class="preprocessor">#define IS_TIM_CLEARINPUT_FILTER(__ICFILTER__) ((__ICFILTER__) &lt;= 0xFU)</span></div>
<div class="line"><a id="l01931" name="l01931"></a><span class="lineno"> 1931</span> </div>
<div class="line"><a id="l01932" name="l01932"></a><span class="lineno"> 1932</span><span class="preprocessor">#define IS_TIM_OSSR_STATE(__STATE__)       (((__STATE__) == TIM_OSSR_ENABLE) || \</span></div>
<div class="line"><a id="l01933" name="l01933"></a><span class="lineno"> 1933</span><span class="preprocessor">                                            ((__STATE__) == TIM_OSSR_DISABLE))</span></div>
<div class="line"><a id="l01934" name="l01934"></a><span class="lineno"> 1934</span> </div>
<div class="line"><a id="l01935" name="l01935"></a><span class="lineno"> 1935</span><span class="preprocessor">#define IS_TIM_OSSI_STATE(__STATE__)       (((__STATE__) == TIM_OSSI_ENABLE) || \</span></div>
<div class="line"><a id="l01936" name="l01936"></a><span class="lineno"> 1936</span><span class="preprocessor">                                            ((__STATE__) == TIM_OSSI_DISABLE))</span></div>
<div class="line"><a id="l01937" name="l01937"></a><span class="lineno"> 1937</span> </div>
<div class="line"><a id="l01938" name="l01938"></a><span class="lineno"> 1938</span><span class="preprocessor">#define IS_TIM_LOCK_LEVEL(__LEVEL__)       (((__LEVEL__) == TIM_LOCKLEVEL_OFF) || \</span></div>
<div class="line"><a id="l01939" name="l01939"></a><span class="lineno"> 1939</span><span class="preprocessor">                                            ((__LEVEL__) == TIM_LOCKLEVEL_1)   || \</span></div>
<div class="line"><a id="l01940" name="l01940"></a><span class="lineno"> 1940</span><span class="preprocessor">                                            ((__LEVEL__) == TIM_LOCKLEVEL_2)   || \</span></div>
<div class="line"><a id="l01941" name="l01941"></a><span class="lineno"> 1941</span><span class="preprocessor">                                            ((__LEVEL__) == TIM_LOCKLEVEL_3))</span></div>
<div class="line"><a id="l01942" name="l01942"></a><span class="lineno"> 1942</span> </div>
<div class="line"><a id="l01943" name="l01943"></a><span class="lineno"> 1943</span><span class="preprocessor">#define IS_TIM_BREAK_FILTER(__BRKFILTER__) ((__BRKFILTER__) &lt;= 0xFUL)</span></div>
<div class="line"><a id="l01944" name="l01944"></a><span class="lineno"> 1944</span> </div>
<div class="line"><a id="l01945" name="l01945"></a><span class="lineno"> 1945</span><span class="preprocessor">#define IS_TIM_BREAK_STATE(__STATE__)      (((__STATE__) == TIM_BREAK_ENABLE) || \</span></div>
<div class="line"><a id="l01946" name="l01946"></a><span class="lineno"> 1946</span><span class="preprocessor">                                            ((__STATE__) == TIM_BREAK_DISABLE))</span></div>
<div class="line"><a id="l01947" name="l01947"></a><span class="lineno"> 1947</span> </div>
<div class="line"><a id="l01948" name="l01948"></a><span class="lineno"> 1948</span><span class="preprocessor">#define IS_TIM_BREAK_POLARITY(__POLARITY__) (((__POLARITY__) == TIM_BREAKPOLARITY_LOW) || \</span></div>
<div class="line"><a id="l01949" name="l01949"></a><span class="lineno"> 1949</span><span class="preprocessor">                                             ((__POLARITY__) == TIM_BREAKPOLARITY_HIGH))</span></div>
<div class="line"><a id="l01950" name="l01950"></a><span class="lineno"> 1950</span><span class="preprocessor">#if  defined(TIM_BDTR_BKBID)</span></div>
<div class="line"><a id="l01951" name="l01951"></a><span class="lineno"> 1951</span> </div>
<div class="line"><a id="l01952" name="l01952"></a><span class="lineno"> 1952</span><span class="preprocessor">#define IS_TIM_BREAK_AFMODE(__AFMODE__) (((__AFMODE__) == TIM_BREAK_AFMODE_INPUT) || \</span></div>
<div class="line"><a id="l01953" name="l01953"></a><span class="lineno"> 1953</span><span class="preprocessor">                                         ((__AFMODE__) == TIM_BREAK_AFMODE_BIDIRECTIONAL))</span></div>
<div class="line"><a id="l01954" name="l01954"></a><span class="lineno"> 1954</span> </div>
<div class="line"><a id="l01955" name="l01955"></a><span class="lineno"> 1955</span><span class="preprocessor">#endif </span><span class="comment">/* TIM_BDTR_BKBID */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01956" name="l01956"></a><span class="lineno"> 1956</span> </div>
<div class="line"><a id="l01957" name="l01957"></a><span class="lineno"> 1957</span><span class="preprocessor">#define IS_TIM_BREAK2_STATE(__STATE__)     (((__STATE__) == TIM_BREAK2_ENABLE) || \</span></div>
<div class="line"><a id="l01958" name="l01958"></a><span class="lineno"> 1958</span><span class="preprocessor">                                            ((__STATE__) == TIM_BREAK2_DISABLE))</span></div>
<div class="line"><a id="l01959" name="l01959"></a><span class="lineno"> 1959</span> </div>
<div class="line"><a id="l01960" name="l01960"></a><span class="lineno"> 1960</span><span class="preprocessor">#define IS_TIM_BREAK2_POLARITY(__POLARITY__) (((__POLARITY__) == TIM_BREAK2POLARITY_LOW) || \</span></div>
<div class="line"><a id="l01961" name="l01961"></a><span class="lineno"> 1961</span><span class="preprocessor">                                              ((__POLARITY__) == TIM_BREAK2POLARITY_HIGH))</span></div>
<div class="line"><a id="l01962" name="l01962"></a><span class="lineno"> 1962</span><span class="preprocessor">#if  defined(TIM_BDTR_BKBID)</span></div>
<div class="line"><a id="l01963" name="l01963"></a><span class="lineno"> 1963</span> </div>
<div class="line"><a id="l01964" name="l01964"></a><span class="lineno"> 1964</span><span class="preprocessor">#define IS_TIM_BREAK2_AFMODE(__AFMODE__) (((__AFMODE__) == TIM_BREAK2_AFMODE_INPUT) || \</span></div>
<div class="line"><a id="l01965" name="l01965"></a><span class="lineno"> 1965</span><span class="preprocessor">                                          ((__AFMODE__) == TIM_BREAK2_AFMODE_BIDIRECTIONAL))</span></div>
<div class="line"><a id="l01966" name="l01966"></a><span class="lineno"> 1966</span> </div>
<div class="line"><a id="l01967" name="l01967"></a><span class="lineno"> 1967</span><span class="preprocessor">#endif </span><span class="comment">/* TIM_BDTR_BKBID */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01968" name="l01968"></a><span class="lineno"> 1968</span> </div>
<div class="line"><a id="l01969" name="l01969"></a><span class="lineno"> 1969</span><span class="preprocessor">#define IS_TIM_AUTOMATIC_OUTPUT_STATE(__STATE__) (((__STATE__) == TIM_AUTOMATICOUTPUT_ENABLE) || \</span></div>
<div class="line"><a id="l01970" name="l01970"></a><span class="lineno"> 1970</span><span class="preprocessor">                                                  ((__STATE__) == TIM_AUTOMATICOUTPUT_DISABLE))</span></div>
<div class="line"><a id="l01971" name="l01971"></a><span class="lineno"> 1971</span> </div>
<div class="line"><a id="l01972" name="l01972"></a><span class="lineno"> 1972</span><span class="preprocessor">#define IS_TIM_GROUPCH5(__OCREF__) ((((__OCREF__) &amp; 0x1FFFFFFFU) == 0x00000000U))</span></div>
<div class="line"><a id="l01973" name="l01973"></a><span class="lineno"> 1973</span> </div>
<div class="line"><a id="l01974" name="l01974"></a><span class="lineno"> 1974</span><span class="preprocessor">#define IS_TIM_TRGO_SOURCE(__SOURCE__) (((__SOURCE__) == TIM_TRGO_RESET)  || \</span></div>
<div class="line"><a id="l01975" name="l01975"></a><span class="lineno"> 1975</span><span class="preprocessor">                                        ((__SOURCE__) == TIM_TRGO_ENABLE) || \</span></div>
<div class="line"><a id="l01976" name="l01976"></a><span class="lineno"> 1976</span><span class="preprocessor">                                        ((__SOURCE__) == TIM_TRGO_UPDATE) || \</span></div>
<div class="line"><a id="l01977" name="l01977"></a><span class="lineno"> 1977</span><span class="preprocessor">                                        ((__SOURCE__) == TIM_TRGO_OC1)    || \</span></div>
<div class="line"><a id="l01978" name="l01978"></a><span class="lineno"> 1978</span><span class="preprocessor">                                        ((__SOURCE__) == TIM_TRGO_OC1REF) || \</span></div>
<div class="line"><a id="l01979" name="l01979"></a><span class="lineno"> 1979</span><span class="preprocessor">                                        ((__SOURCE__) == TIM_TRGO_OC2REF) || \</span></div>
<div class="line"><a id="l01980" name="l01980"></a><span class="lineno"> 1980</span><span class="preprocessor">                                        ((__SOURCE__) == TIM_TRGO_OC3REF) || \</span></div>
<div class="line"><a id="l01981" name="l01981"></a><span class="lineno"> 1981</span><span class="preprocessor">                                        ((__SOURCE__) == TIM_TRGO_OC4REF))</span></div>
<div class="line"><a id="l01982" name="l01982"></a><span class="lineno"> 1982</span> </div>
<div class="line"><a id="l01983" name="l01983"></a><span class="lineno"> 1983</span><span class="preprocessor">#define IS_TIM_TRGO2_SOURCE(__SOURCE__) (((__SOURCE__) == TIM_TRGO2_RESET)                        || \</span></div>
<div class="line"><a id="l01984" name="l01984"></a><span class="lineno"> 1984</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_ENABLE)                       || \</span></div>
<div class="line"><a id="l01985" name="l01985"></a><span class="lineno"> 1985</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_UPDATE)                       || \</span></div>
<div class="line"><a id="l01986" name="l01986"></a><span class="lineno"> 1986</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC1)                          || \</span></div>
<div class="line"><a id="l01987" name="l01987"></a><span class="lineno"> 1987</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC1REF)                       || \</span></div>
<div class="line"><a id="l01988" name="l01988"></a><span class="lineno"> 1988</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC2REF)                       || \</span></div>
<div class="line"><a id="l01989" name="l01989"></a><span class="lineno"> 1989</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC3REF)                       || \</span></div>
<div class="line"><a id="l01990" name="l01990"></a><span class="lineno"> 1990</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC3REF)                       || \</span></div>
<div class="line"><a id="l01991" name="l01991"></a><span class="lineno"> 1991</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC4REF)                       || \</span></div>
<div class="line"><a id="l01992" name="l01992"></a><span class="lineno"> 1992</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC5REF)                       || \</span></div>
<div class="line"><a id="l01993" name="l01993"></a><span class="lineno"> 1993</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC6REF)                       || \</span></div>
<div class="line"><a id="l01994" name="l01994"></a><span class="lineno"> 1994</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC4REF_RISINGFALLING)         || \</span></div>
<div class="line"><a id="l01995" name="l01995"></a><span class="lineno"> 1995</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC6REF_RISINGFALLING)         || \</span></div>
<div class="line"><a id="l01996" name="l01996"></a><span class="lineno"> 1996</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC4REF_RISING_OC6REF_RISING)  || \</span></div>
<div class="line"><a id="l01997" name="l01997"></a><span class="lineno"> 1997</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC4REF_RISING_OC6REF_FALLING) || \</span></div>
<div class="line"><a id="l01998" name="l01998"></a><span class="lineno"> 1998</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC5REF_RISING_OC6REF_RISING)  || \</span></div>
<div class="line"><a id="l01999" name="l01999"></a><span class="lineno"> 1999</span><span class="preprocessor">                                         ((__SOURCE__) == TIM_TRGO2_OC5REF_RISING_OC6REF_FALLING))</span></div>
<div class="line"><a id="l02000" name="l02000"></a><span class="lineno"> 2000</span> </div>
<div class="line"><a id="l02001" name="l02001"></a><span class="lineno"> 2001</span><span class="preprocessor">#define IS_TIM_MSM_STATE(__STATE__)      (((__STATE__) == TIM_MASTERSLAVEMODE_ENABLE) || \</span></div>
<div class="line"><a id="l02002" name="l02002"></a><span class="lineno"> 2002</span><span class="preprocessor">                                          ((__STATE__) == TIM_MASTERSLAVEMODE_DISABLE))</span></div>
<div class="line"><a id="l02003" name="l02003"></a><span class="lineno"> 2003</span> </div>
<div class="line"><a id="l02004" name="l02004"></a><span class="lineno"> 2004</span><span class="preprocessor">#define IS_TIM_SLAVE_MODE(__MODE__) (((__MODE__) == TIM_SLAVEMODE_DISABLE)   || \</span></div>
<div class="line"><a id="l02005" name="l02005"></a><span class="lineno"> 2005</span><span class="preprocessor">                                     ((__MODE__) == TIM_SLAVEMODE_RESET)     || \</span></div>
<div class="line"><a id="l02006" name="l02006"></a><span class="lineno"> 2006</span><span class="preprocessor">                                     ((__MODE__) == TIM_SLAVEMODE_GATED)     || \</span></div>
<div class="line"><a id="l02007" name="l02007"></a><span class="lineno"> 2007</span><span class="preprocessor">                                     ((__MODE__) == TIM_SLAVEMODE_TRIGGER)   || \</span></div>
<div class="line"><a id="l02008" name="l02008"></a><span class="lineno"> 2008</span><span class="preprocessor">                                     ((__MODE__) == TIM_SLAVEMODE_EXTERNAL1) || \</span></div>
<div class="line"><a id="l02009" name="l02009"></a><span class="lineno"> 2009</span><span class="preprocessor">                                     ((__MODE__) == TIM_SLAVEMODE_COMBINED_RESETTRIGGER))</span></div>
<div class="line"><a id="l02010" name="l02010"></a><span class="lineno"> 2010</span> </div>
<div class="line"><a id="l02011" name="l02011"></a><span class="lineno"> 2011</span><span class="preprocessor">#define IS_TIM_PWM_MODE(__MODE__) (((__MODE__) == TIM_OCMODE_PWM1)               || \</span></div>
<div class="line"><a id="l02012" name="l02012"></a><span class="lineno"> 2012</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_PWM2)               || \</span></div>
<div class="line"><a id="l02013" name="l02013"></a><span class="lineno"> 2013</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_COMBINED_PWM1)      || \</span></div>
<div class="line"><a id="l02014" name="l02014"></a><span class="lineno"> 2014</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_COMBINED_PWM2)      || \</span></div>
<div class="line"><a id="l02015" name="l02015"></a><span class="lineno"> 2015</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_ASYMMETRIC_PWM1)    || \</span></div>
<div class="line"><a id="l02016" name="l02016"></a><span class="lineno"> 2016</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_ASYMMETRIC_PWM2))</span></div>
<div class="line"><a id="l02017" name="l02017"></a><span class="lineno"> 2017</span> </div>
<div class="line"><a id="l02018" name="l02018"></a><span class="lineno"> 2018</span><span class="preprocessor">#define IS_TIM_OC_MODE(__MODE__)  (((__MODE__) == TIM_OCMODE_TIMING)             || \</span></div>
<div class="line"><a id="l02019" name="l02019"></a><span class="lineno"> 2019</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_ACTIVE)             || \</span></div>
<div class="line"><a id="l02020" name="l02020"></a><span class="lineno"> 2020</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_INACTIVE)           || \</span></div>
<div class="line"><a id="l02021" name="l02021"></a><span class="lineno"> 2021</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_TOGGLE)             || \</span></div>
<div class="line"><a id="l02022" name="l02022"></a><span class="lineno"> 2022</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_FORCED_ACTIVE)      || \</span></div>
<div class="line"><a id="l02023" name="l02023"></a><span class="lineno"> 2023</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_FORCED_INACTIVE)    || \</span></div>
<div class="line"><a id="l02024" name="l02024"></a><span class="lineno"> 2024</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_RETRIGERRABLE_OPM1) || \</span></div>
<div class="line"><a id="l02025" name="l02025"></a><span class="lineno"> 2025</span><span class="preprocessor">                                   ((__MODE__) == TIM_OCMODE_RETRIGERRABLE_OPM2))</span></div>
<div class="line"><a id="l02026" name="l02026"></a><span class="lineno"> 2026</span> </div>
<div class="line"><a id="l02027" name="l02027"></a><span class="lineno"> 2027</span><span class="preprocessor">#define IS_TIM_TRIGGER_SELECTION(__SELECTION__) (((__SELECTION__) == TIM_TS_ITR0)    || \</span></div>
<div class="line"><a id="l02028" name="l02028"></a><span class="lineno"> 2028</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR1)    || \</span></div>
<div class="line"><a id="l02029" name="l02029"></a><span class="lineno"> 2029</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR2)    || \</span></div>
<div class="line"><a id="l02030" name="l02030"></a><span class="lineno"> 2030</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR3)    || \</span></div>
<div class="line"><a id="l02031" name="l02031"></a><span class="lineno"> 2031</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR4)    || \</span></div>
<div class="line"><a id="l02032" name="l02032"></a><span class="lineno"> 2032</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR5)    || \</span></div>
<div class="line"><a id="l02033" name="l02033"></a><span class="lineno"> 2033</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR6)    || \</span></div>
<div class="line"><a id="l02034" name="l02034"></a><span class="lineno"> 2034</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR7)    || \</span></div>
<div class="line"><a id="l02035" name="l02035"></a><span class="lineno"> 2035</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR8)    || \</span></div>
<div class="line"><a id="l02036" name="l02036"></a><span class="lineno"> 2036</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR12)   || \</span></div>
<div class="line"><a id="l02037" name="l02037"></a><span class="lineno"> 2037</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ITR13)   || \</span></div>
<div class="line"><a id="l02038" name="l02038"></a><span class="lineno"> 2038</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_TI1F_ED) || \</span></div>
<div class="line"><a id="l02039" name="l02039"></a><span class="lineno"> 2039</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_TI1FP1)  || \</span></div>
<div class="line"><a id="l02040" name="l02040"></a><span class="lineno"> 2040</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_TI2FP2)  || \</span></div>
<div class="line"><a id="l02041" name="l02041"></a><span class="lineno"> 2041</span><span class="preprocessor">                                                 ((__SELECTION__) == TIM_TS_ETRF))</span></div>
<div class="line"><a id="l02042" name="l02042"></a><span class="lineno"> 2042</span> </div>
<div class="line"><a id="l02043" name="l02043"></a><span class="lineno"> 2043</span><span class="preprocessor">#define IS_TIM_INTERNAL_TRIGGEREVENT_SELECTION(__SELECTION__) (((__SELECTION__) == TIM_TS_ITR0)  || \</span></div>
<div class="line"><a id="l02044" name="l02044"></a><span class="lineno"> 2044</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR1)  || \</span></div>
<div class="line"><a id="l02045" name="l02045"></a><span class="lineno"> 2045</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR2)  || \</span></div>
<div class="line"><a id="l02046" name="l02046"></a><span class="lineno"> 2046</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR3)  || \</span></div>
<div class="line"><a id="l02047" name="l02047"></a><span class="lineno"> 2047</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR4)  || \</span></div>
<div class="line"><a id="l02048" name="l02048"></a><span class="lineno"> 2048</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR5)  || \</span></div>
<div class="line"><a id="l02049" name="l02049"></a><span class="lineno"> 2049</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR6)  || \</span></div>
<div class="line"><a id="l02050" name="l02050"></a><span class="lineno"> 2050</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR7)  || \</span></div>
<div class="line"><a id="l02051" name="l02051"></a><span class="lineno"> 2051</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR8)  || \</span></div>
<div class="line"><a id="l02052" name="l02052"></a><span class="lineno"> 2052</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR12) || \</span></div>
<div class="line"><a id="l02053" name="l02053"></a><span class="lineno"> 2053</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_ITR13) || \</span></div>
<div class="line"><a id="l02054" name="l02054"></a><span class="lineno"> 2054</span><span class="preprocessor">                                                               ((__SELECTION__) == TIM_TS_NONE))</span></div>
<div class="line"><a id="l02055" name="l02055"></a><span class="lineno"> 2055</span> </div>
<div class="line"><a id="l02056" name="l02056"></a><span class="lineno"> 2056</span><span class="preprocessor">#define IS_TIM_TRIGGERPOLARITY(__POLARITY__)   (((__POLARITY__) == TIM_TRIGGERPOLARITY_INVERTED   ) || \</span></div>
<div class="line"><a id="l02057" name="l02057"></a><span class="lineno"> 2057</span><span class="preprocessor">                                                ((__POLARITY__) == TIM_TRIGGERPOLARITY_NONINVERTED) || \</span></div>
<div class="line"><a id="l02058" name="l02058"></a><span class="lineno"> 2058</span><span class="preprocessor">                                                ((__POLARITY__) == TIM_TRIGGERPOLARITY_RISING     ) || \</span></div>
<div class="line"><a id="l02059" name="l02059"></a><span class="lineno"> 2059</span><span class="preprocessor">                                                ((__POLARITY__) == TIM_TRIGGERPOLARITY_FALLING    ) || \</span></div>
<div class="line"><a id="l02060" name="l02060"></a><span class="lineno"> 2060</span><span class="preprocessor">                                                ((__POLARITY__) == TIM_TRIGGERPOLARITY_BOTHEDGE   ))</span></div>
<div class="line"><a id="l02061" name="l02061"></a><span class="lineno"> 2061</span> </div>
<div class="line"><a id="l02062" name="l02062"></a><span class="lineno"> 2062</span><span class="preprocessor">#define IS_TIM_TRIGGERPRESCALER(__PRESCALER__) (((__PRESCALER__) == TIM_TRIGGERPRESCALER_DIV1) || \</span></div>
<div class="line"><a id="l02063" name="l02063"></a><span class="lineno"> 2063</span><span class="preprocessor">                                                ((__PRESCALER__) == TIM_TRIGGERPRESCALER_DIV2) || \</span></div>
<div class="line"><a id="l02064" name="l02064"></a><span class="lineno"> 2064</span><span class="preprocessor">                                                ((__PRESCALER__) == TIM_TRIGGERPRESCALER_DIV4) || \</span></div>
<div class="line"><a id="l02065" name="l02065"></a><span class="lineno"> 2065</span><span class="preprocessor">                                                ((__PRESCALER__) == TIM_TRIGGERPRESCALER_DIV8))</span></div>
<div class="line"><a id="l02066" name="l02066"></a><span class="lineno"> 2066</span> </div>
<div class="line"><a id="l02067" name="l02067"></a><span class="lineno"> 2067</span><span class="preprocessor">#define IS_TIM_TRIGGERFILTER(__ICFILTER__) ((__ICFILTER__) &lt;= 0xFU)</span></div>
<div class="line"><a id="l02068" name="l02068"></a><span class="lineno"> 2068</span> </div>
<div class="line"><a id="l02069" name="l02069"></a><span class="lineno"> 2069</span><span class="preprocessor">#define IS_TIM_TI1SELECTION(__TI1SELECTION__)  (((__TI1SELECTION__) == TIM_TI1SELECTION_CH1) || \</span></div>
<div class="line"><a id="l02070" name="l02070"></a><span class="lineno"> 2070</span><span class="preprocessor">                                                ((__TI1SELECTION__) == TIM_TI1SELECTION_XORCOMBINATION))</span></div>
<div class="line"><a id="l02071" name="l02071"></a><span class="lineno"> 2071</span> </div>
<div class="line"><a id="l02072" name="l02072"></a><span class="lineno"> 2072</span><span class="preprocessor">#define IS_TIM_DMA_LENGTH(__LENGTH__)      (((__LENGTH__) == TIM_DMABURSTLENGTH_1TRANSFER)   || \</span></div>
<div class="line"><a id="l02073" name="l02073"></a><span class="lineno"> 2073</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_2TRANSFERS)  || \</span></div>
<div class="line"><a id="l02074" name="l02074"></a><span class="lineno"> 2074</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_3TRANSFERS)  || \</span></div>
<div class="line"><a id="l02075" name="l02075"></a><span class="lineno"> 2075</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_4TRANSFERS)  || \</span></div>
<div class="line"><a id="l02076" name="l02076"></a><span class="lineno"> 2076</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_5TRANSFERS)  || \</span></div>
<div class="line"><a id="l02077" name="l02077"></a><span class="lineno"> 2077</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_6TRANSFERS)  || \</span></div>
<div class="line"><a id="l02078" name="l02078"></a><span class="lineno"> 2078</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_7TRANSFERS)  || \</span></div>
<div class="line"><a id="l02079" name="l02079"></a><span class="lineno"> 2079</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_8TRANSFERS)  || \</span></div>
<div class="line"><a id="l02080" name="l02080"></a><span class="lineno"> 2080</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_9TRANSFERS)  || \</span></div>
<div class="line"><a id="l02081" name="l02081"></a><span class="lineno"> 2081</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_10TRANSFERS) || \</span></div>
<div class="line"><a id="l02082" name="l02082"></a><span class="lineno"> 2082</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_11TRANSFERS) || \</span></div>
<div class="line"><a id="l02083" name="l02083"></a><span class="lineno"> 2083</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_12TRANSFERS) || \</span></div>
<div class="line"><a id="l02084" name="l02084"></a><span class="lineno"> 2084</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_13TRANSFERS) || \</span></div>
<div class="line"><a id="l02085" name="l02085"></a><span class="lineno"> 2085</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_14TRANSFERS) || \</span></div>
<div class="line"><a id="l02086" name="l02086"></a><span class="lineno"> 2086</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_15TRANSFERS) || \</span></div>
<div class="line"><a id="l02087" name="l02087"></a><span class="lineno"> 2087</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_16TRANSFERS) || \</span></div>
<div class="line"><a id="l02088" name="l02088"></a><span class="lineno"> 2088</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_17TRANSFERS) || \</span></div>
<div class="line"><a id="l02089" name="l02089"></a><span class="lineno"> 2089</span><span class="preprocessor">                                            ((__LENGTH__) == TIM_DMABURSTLENGTH_18TRANSFERS))</span></div>
<div class="line"><a id="l02090" name="l02090"></a><span class="lineno"> 2090</span> </div>
<div class="line"><a id="l02091" name="l02091"></a><span class="lineno"> 2091</span><span class="preprocessor">#define IS_TIM_DMA_DATA_LENGTH(LENGTH) (((LENGTH) &gt;= 0x1U) &amp;&amp; ((LENGTH) &lt; 0x10000U))</span></div>
<div class="line"><a id="l02092" name="l02092"></a><span class="lineno"> 2092</span> </div>
<div class="line"><a id="l02093" name="l02093"></a><span class="lineno"> 2093</span><span class="preprocessor">#define IS_TIM_IC_FILTER(__ICFILTER__)   ((__ICFILTER__) &lt;= 0xFU)</span></div>
<div class="line"><a id="l02094" name="l02094"></a><span class="lineno"> 2094</span> </div>
<div class="line"><a id="l02095" name="l02095"></a><span class="lineno"> 2095</span><span class="preprocessor">#define IS_TIM_DEADTIME(__DEADTIME__)    ((__DEADTIME__) &lt;= 0xFFU)</span></div>
<div class="line"><a id="l02096" name="l02096"></a><span class="lineno"> 2096</span> </div>
<div class="line"><a id="l02097" name="l02097"></a><span class="lineno"> 2097</span><span class="preprocessor">#define IS_TIM_BREAK_SYSTEM(__CONFIG__)    (((__CONFIG__) == TIM_BREAK_SYSTEM_ECC)                  || \</span></div>
<div class="line"><a id="l02098" name="l02098"></a><span class="lineno"> 2098</span><span class="preprocessor">                                            ((__CONFIG__) == TIM_BREAK_SYSTEM_PVD)                  || \</span></div>
<div class="line"><a id="l02099" name="l02099"></a><span class="lineno"> 2099</span><span class="preprocessor">                                            ((__CONFIG__) == TIM_BREAK_SYSTEM_SRAM_PARITY_ERROR)    || \</span></div>
<div class="line"><a id="l02100" name="l02100"></a><span class="lineno"> 2100</span><span class="preprocessor">                                            ((__CONFIG__) == TIM_BREAK_SYSTEM_LOCKUP))</span></div>
<div class="line"><a id="l02101" name="l02101"></a><span class="lineno"> 2101</span> </div>
<div class="line"><a id="l02102" name="l02102"></a><span class="lineno"> 2102</span><span class="preprocessor">#define IS_TIM_SLAVEMODE_TRIGGER_ENABLED(__TRIGGER__) (((__TRIGGER__) == TIM_SLAVEMODE_TRIGGER) || \</span></div>
<div class="line"><a id="l02103" name="l02103"></a><span class="lineno"> 2103</span><span class="preprocessor">                                                       ((__TRIGGER__) == TIM_SLAVEMODE_COMBINED_RESETTRIGGER))</span></div>
<div class="line"><a id="l02104" name="l02104"></a><span class="lineno"> 2104</span> </div>
<div class="line"><a id="l02105" name="l02105"></a><span class="lineno"> 2105</span><span class="preprocessor">#define TIM_SET_ICPRESCALERVALUE(__HANDLE__, __CHANNEL__, __ICPSC__) \</span></div>
<div class="line"><a id="l02106" name="l02106"></a><span class="lineno"> 2106</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= (__ICPSC__)) :\</span></div>
<div class="line"><a id="l02107" name="l02107"></a><span class="lineno"> 2107</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= ((__ICPSC__) &lt;&lt; 8U)) :\</span></div>
<div class="line"><a id="l02108" name="l02108"></a><span class="lineno"> 2108</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= (__ICPSC__)) :\</span></div>
<div class="line"><a id="l02109" name="l02109"></a><span class="lineno"> 2109</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= ((__ICPSC__) &lt;&lt; 8U)))</span></div>
<div class="line"><a id="l02110" name="l02110"></a><span class="lineno"> 2110</span> </div>
<div class="line"><a id="l02111" name="l02111"></a><span class="lineno"> 2111</span><span class="preprocessor">#define TIM_RESET_ICPRESCALERVALUE(__HANDLE__, __CHANNEL__) \</span></div>
<div class="line"><a id="l02112" name="l02112"></a><span class="lineno"> 2112</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= ~TIM_CCMR1_IC1PSC) :\</span></div>
<div class="line"><a id="l02113" name="l02113"></a><span class="lineno"> 2113</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= ~TIM_CCMR1_IC2PSC) :\</span></div>
<div class="line"><a id="l02114" name="l02114"></a><span class="lineno"> 2114</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= ~TIM_CCMR2_IC3PSC) :\</span></div>
<div class="line"><a id="l02115" name="l02115"></a><span class="lineno"> 2115</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= ~TIM_CCMR2_IC4PSC))</span></div>
<div class="line"><a id="l02116" name="l02116"></a><span class="lineno"> 2116</span> </div>
<div class="line"><a id="l02117" name="l02117"></a><span class="lineno"> 2117</span><span class="preprocessor">#define TIM_SET_CAPTUREPOLARITY(__HANDLE__, __CHANNEL__, __POLARITY__) \</span></div>
<div class="line"><a id="l02118" name="l02118"></a><span class="lineno"> 2118</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCER |= (__POLARITY__)) :\</span></div>
<div class="line"><a id="l02119" name="l02119"></a><span class="lineno"> 2119</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCER |= ((__POLARITY__) &lt;&lt; 4U)) :\</span></div>
<div class="line"><a id="l02120" name="l02120"></a><span class="lineno"> 2120</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCER |= ((__POLARITY__) &lt;&lt; 8U)) :\</span></div>
<div class="line"><a id="l02121" name="l02121"></a><span class="lineno"> 2121</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCER |= (((__POLARITY__) &lt;&lt; 12U))))</span></div>
<div class="line"><a id="l02122" name="l02122"></a><span class="lineno"> 2122</span> </div>
<div class="line"><a id="l02123" name="l02123"></a><span class="lineno"> 2123</span><span class="preprocessor">#define TIM_RESET_CAPTUREPOLARITY(__HANDLE__, __CHANNEL__) \</span></div>
<div class="line"><a id="l02124" name="l02124"></a><span class="lineno"> 2124</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;Instance-&gt;CCER &amp;= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP)) :\</span></div>
<div class="line"><a id="l02125" name="l02125"></a><span class="lineno"> 2125</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;Instance-&gt;CCER &amp;= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP)) :\</span></div>
<div class="line"><a id="l02126" name="l02126"></a><span class="lineno"> 2126</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;Instance-&gt;CCER &amp;= ~(TIM_CCER_CC3P | TIM_CCER_CC3NP)) :\</span></div>
<div class="line"><a id="l02127" name="l02127"></a><span class="lineno"> 2127</span><span class="preprocessor">   ((__HANDLE__)-&gt;Instance-&gt;CCER &amp;= ~(TIM_CCER_CC4P | TIM_CCER_CC4NP)))</span></div>
<div class="line"><a id="l02128" name="l02128"></a><span class="lineno"> 2128</span> </div>
<div class="line"><a id="l02129" name="l02129"></a><span class="lineno"> 2129</span><span class="preprocessor">#define TIM_CHANNEL_STATE_GET(__HANDLE__, __CHANNEL__)\</span></div>
<div class="line"><a id="l02130" name="l02130"></a><span class="lineno"> 2130</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? (__HANDLE__)-&gt;ChannelState[0] :\</span></div>
<div class="line"><a id="l02131" name="l02131"></a><span class="lineno"> 2131</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? (__HANDLE__)-&gt;ChannelState[1] :\</span></div>
<div class="line"><a id="l02132" name="l02132"></a><span class="lineno"> 2132</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? (__HANDLE__)-&gt;ChannelState[2] :\</span></div>
<div class="line"><a id="l02133" name="l02133"></a><span class="lineno"> 2133</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? (__HANDLE__)-&gt;ChannelState[3] :\</span></div>
<div class="line"><a id="l02134" name="l02134"></a><span class="lineno"> 2134</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? (__HANDLE__)-&gt;ChannelState[4] :\</span></div>
<div class="line"><a id="l02135" name="l02135"></a><span class="lineno"> 2135</span><span class="preprocessor">   (__HANDLE__)-&gt;ChannelState[5])</span></div>
<div class="line"><a id="l02136" name="l02136"></a><span class="lineno"> 2136</span> </div>
<div class="line"><a id="l02137" name="l02137"></a><span class="lineno"> 2137</span><span class="preprocessor">#define TIM_CHANNEL_STATE_SET(__HANDLE__, __CHANNEL__, __CHANNEL_STATE__) \</span></div>
<div class="line"><a id="l02138" name="l02138"></a><span class="lineno"> 2138</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;ChannelState[0] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02139" name="l02139"></a><span class="lineno"> 2139</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;ChannelState[1] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02140" name="l02140"></a><span class="lineno"> 2140</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;ChannelState[2] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02141" name="l02141"></a><span class="lineno"> 2141</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_4) ? ((__HANDLE__)-&gt;ChannelState[3] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02142" name="l02142"></a><span class="lineno"> 2142</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_5) ? ((__HANDLE__)-&gt;ChannelState[4] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02143" name="l02143"></a><span class="lineno"> 2143</span><span class="preprocessor">   ((__HANDLE__)-&gt;ChannelState[5] = (__CHANNEL_STATE__)))</span></div>
<div class="line"><a id="l02144" name="l02144"></a><span class="lineno"> 2144</span> </div>
<div class="line"><a id="l02145" name="l02145"></a><span class="lineno"> 2145</span><span class="preprocessor">#define TIM_CHANNEL_STATE_SET_ALL(__HANDLE__,  __CHANNEL_STATE__) do { \</span></div>
<div class="line"><a id="l02146" name="l02146"></a><span class="lineno"> 2146</span><span class="preprocessor">                                                                       (__HANDLE__)-&gt;ChannelState[0]  = \</span></div>
<div class="line"><a id="l02147" name="l02147"></a><span class="lineno"> 2147</span><span class="preprocessor">                                                                       (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02148" name="l02148"></a><span class="lineno"> 2148</span><span class="preprocessor">                                                                       (__HANDLE__)-&gt;ChannelState[1]  = \</span></div>
<div class="line"><a id="l02149" name="l02149"></a><span class="lineno"> 2149</span><span class="preprocessor">                                                                       (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02150" name="l02150"></a><span class="lineno"> 2150</span><span class="preprocessor">                                                                       (__HANDLE__)-&gt;ChannelState[2]  = \</span></div>
<div class="line"><a id="l02151" name="l02151"></a><span class="lineno"> 2151</span><span class="preprocessor">                                                                       (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02152" name="l02152"></a><span class="lineno"> 2152</span><span class="preprocessor">                                                                       (__HANDLE__)-&gt;ChannelState[3]  = \</span></div>
<div class="line"><a id="l02153" name="l02153"></a><span class="lineno"> 2153</span><span class="preprocessor">                                                                       (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02154" name="l02154"></a><span class="lineno"> 2154</span><span class="preprocessor">                                                                       (__HANDLE__)-&gt;ChannelState[4]  = \</span></div>
<div class="line"><a id="l02155" name="l02155"></a><span class="lineno"> 2155</span><span class="preprocessor">                                                                       (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02156" name="l02156"></a><span class="lineno"> 2156</span><span class="preprocessor">                                                                       (__HANDLE__)-&gt;ChannelState[5]  = \</span></div>
<div class="line"><a id="l02157" name="l02157"></a><span class="lineno"> 2157</span><span class="preprocessor">                                                                       (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02158" name="l02158"></a><span class="lineno"> 2158</span><span class="preprocessor">                                                                     } while(0)</span></div>
<div class="line"><a id="l02159" name="l02159"></a><span class="lineno"> 2159</span> </div>
<div class="line"><a id="l02160" name="l02160"></a><span class="lineno"> 2160</span><span class="preprocessor">#define TIM_CHANNEL_N_STATE_GET(__HANDLE__, __CHANNEL__)\</span></div>
<div class="line"><a id="l02161" name="l02161"></a><span class="lineno"> 2161</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? (__HANDLE__)-&gt;ChannelNState[0] :\</span></div>
<div class="line"><a id="l02162" name="l02162"></a><span class="lineno"> 2162</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? (__HANDLE__)-&gt;ChannelNState[1] :\</span></div>
<div class="line"><a id="l02163" name="l02163"></a><span class="lineno"> 2163</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? (__HANDLE__)-&gt;ChannelNState[2] :\</span></div>
<div class="line"><a id="l02164" name="l02164"></a><span class="lineno"> 2164</span><span class="preprocessor">   (__HANDLE__)-&gt;ChannelNState[3])</span></div>
<div class="line"><a id="l02165" name="l02165"></a><span class="lineno"> 2165</span> </div>
<div class="line"><a id="l02166" name="l02166"></a><span class="lineno"> 2166</span><span class="preprocessor">#define TIM_CHANNEL_N_STATE_SET(__HANDLE__, __CHANNEL__, __CHANNEL_STATE__) \</span></div>
<div class="line"><a id="l02167" name="l02167"></a><span class="lineno"> 2167</span><span class="preprocessor">  (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)-&gt;ChannelNState[0] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02168" name="l02168"></a><span class="lineno"> 2168</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)-&gt;ChannelNState[1] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02169" name="l02169"></a><span class="lineno"> 2169</span><span class="preprocessor">   ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)-&gt;ChannelNState[2] = (__CHANNEL_STATE__)) :\</span></div>
<div class="line"><a id="l02170" name="l02170"></a><span class="lineno"> 2170</span><span class="preprocessor">   ((__HANDLE__)-&gt;ChannelNState[3] = (__CHANNEL_STATE__)))</span></div>
<div class="line"><a id="l02171" name="l02171"></a><span class="lineno"> 2171</span> </div>
<div class="line"><a id="l02172" name="l02172"></a><span class="lineno"> 2172</span><span class="preprocessor">#define TIM_CHANNEL_N_STATE_SET_ALL(__HANDLE__,  __CHANNEL_STATE__) do { \</span></div>
<div class="line"><a id="l02173" name="l02173"></a><span class="lineno"> 2173</span><span class="preprocessor">                                                                         (__HANDLE__)-&gt;ChannelNState[0] = \</span></div>
<div class="line"><a id="l02174" name="l02174"></a><span class="lineno"> 2174</span><span class="preprocessor">                                                                         (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02175" name="l02175"></a><span class="lineno"> 2175</span><span class="preprocessor">                                                                         (__HANDLE__)-&gt;ChannelNState[1] = \</span></div>
<div class="line"><a id="l02176" name="l02176"></a><span class="lineno"> 2176</span><span class="preprocessor">                                                                         (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02177" name="l02177"></a><span class="lineno"> 2177</span><span class="preprocessor">                                                                         (__HANDLE__)-&gt;ChannelNState[2] = \</span></div>
<div class="line"><a id="l02178" name="l02178"></a><span class="lineno"> 2178</span><span class="preprocessor">                                                                         (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02179" name="l02179"></a><span class="lineno"> 2179</span><span class="preprocessor">                                                                         (__HANDLE__)-&gt;ChannelNState[3] = \</span></div>
<div class="line"><a id="l02180" name="l02180"></a><span class="lineno"> 2180</span><span class="preprocessor">                                                                         (__CHANNEL_STATE__);  \</span></div>
<div class="line"><a id="l02181" name="l02181"></a><span class="lineno"> 2181</span><span class="preprocessor">                                                                       } while(0)</span></div>
<div class="line"><a id="l02182" name="l02182"></a><span class="lineno"> 2182</span></div>
<div class="line"><a id="l02186" name="l02186"></a><span class="lineno"> 2186</span><span class="comment">/* End of private macros -----------------------------------------------------*/</span></div>
<div class="line"><a id="l02187" name="l02187"></a><span class="lineno"> 2187</span> </div>
<div class="line"><a id="l02188" name="l02188"></a><span class="lineno"> 2188</span><span class="comment">/* Include TIM HAL Extended module */</span></div>
<div class="line"><a id="l02189" name="l02189"></a><span class="lineno"> 2189</span><span class="preprocessor">#include &quot;<a class="code" href="stm32h7xx__hal__tim__ex_8h.html">stm32h7xx_hal_tim_ex.h</a>&quot;</span></div>
<div class="line"><a id="l02190" name="l02190"></a><span class="lineno"> 2190</span> </div>
<div class="line"><a id="l02191" name="l02191"></a><span class="lineno"> 2191</span><span class="comment">/* Exported functions --------------------------------------------------------*/</span></div>
<div class="line"><a id="l02195" name="l02195"></a><span class="lineno"> 2195</span></div>
<div class="line"><a id="l02200" name="l02200"></a><span class="lineno"> 2200</span><span class="comment">/* Time Base functions ********************************************************/</span></div>
<div class="line"><a id="l02201" name="l02201"></a><span class="lineno"> 2201</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_Init(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02202" name="l02202"></a><span class="lineno"> 2202</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_DeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02203" name="l02203"></a><span class="lineno"> 2203</span><span class="keywordtype">void</span> HAL_TIM_Base_MspInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02204" name="l02204"></a><span class="lineno"> 2204</span><span class="keywordtype">void</span> HAL_TIM_Base_MspDeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02205" name="l02205"></a><span class="lineno"> 2205</span><span class="comment">/* Blocking mode: Polling */</span></div>
<div class="line"><a id="l02206" name="l02206"></a><span class="lineno"> 2206</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_Start(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02207" name="l02207"></a><span class="lineno"> 2207</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_Stop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02208" name="l02208"></a><span class="lineno"> 2208</span><span class="comment">/* Non-Blocking mode: Interrupt */</span></div>
<div class="line"><a id="l02209" name="l02209"></a><span class="lineno"> 2209</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_Start_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02210" name="l02210"></a><span class="lineno"> 2210</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_Stop_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02211" name="l02211"></a><span class="lineno"> 2211</span><span class="comment">/* Non-Blocking mode: DMA */</span></div>
<div class="line"><a id="l02212" name="l02212"></a><span class="lineno"> 2212</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_Start_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> uint32_t *pData, uint16_t Length);</div>
<div class="line"><a id="l02213" name="l02213"></a><span class="lineno"> 2213</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Base_Stop_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02217" name="l02217"></a><span class="lineno"> 2217</span></div>
<div class="line"><a id="l02222" name="l02222"></a><span class="lineno"> 2222</span><span class="comment">/* Timer Output Compare functions *********************************************/</span></div>
<div class="line"><a id="l02223" name="l02223"></a><span class="lineno"> 2223</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_Init(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02224" name="l02224"></a><span class="lineno"> 2224</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_DeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02225" name="l02225"></a><span class="lineno"> 2225</span><span class="keywordtype">void</span> HAL_TIM_OC_MspInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02226" name="l02226"></a><span class="lineno"> 2226</span><span class="keywordtype">void</span> HAL_TIM_OC_MspDeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02227" name="l02227"></a><span class="lineno"> 2227</span><span class="comment">/* Blocking mode: Polling */</span></div>
<div class="line"><a id="l02228" name="l02228"></a><span class="lineno"> 2228</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_Start(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02229" name="l02229"></a><span class="lineno"> 2229</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_Stop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02230" name="l02230"></a><span class="lineno"> 2230</span><span class="comment">/* Non-Blocking mode: Interrupt */</span></div>
<div class="line"><a id="l02231" name="l02231"></a><span class="lineno"> 2231</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_Start_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02232" name="l02232"></a><span class="lineno"> 2232</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_Stop_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02233" name="l02233"></a><span class="lineno"> 2233</span><span class="comment">/* Non-Blocking mode: DMA */</span></div>
<div class="line"><a id="l02234" name="l02234"></a><span class="lineno"> 2234</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_Start_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel, <span class="keyword">const</span> uint32_t *pData,</div>
<div class="line"><a id="l02235" name="l02235"></a><span class="lineno"> 2235</span>                                       uint16_t Length);</div>
<div class="line"><a id="l02236" name="l02236"></a><span class="lineno"> 2236</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_Stop_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02240" name="l02240"></a><span class="lineno"> 2240</span></div>
<div class="line"><a id="l02245" name="l02245"></a><span class="lineno"> 2245</span><span class="comment">/* Timer PWM functions ********************************************************/</span></div>
<div class="line"><a id="l02246" name="l02246"></a><span class="lineno"> 2246</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_Init(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02247" name="l02247"></a><span class="lineno"> 2247</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_DeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02248" name="l02248"></a><span class="lineno"> 2248</span><span class="keywordtype">void</span> HAL_TIM_PWM_MspInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02249" name="l02249"></a><span class="lineno"> 2249</span><span class="keywordtype">void</span> HAL_TIM_PWM_MspDeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02250" name="l02250"></a><span class="lineno"> 2250</span><span class="comment">/* Blocking mode: Polling */</span></div>
<div class="line"><a id="l02251" name="l02251"></a><span class="lineno"> 2251</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_Start(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02252" name="l02252"></a><span class="lineno"> 2252</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_Stop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02253" name="l02253"></a><span class="lineno"> 2253</span><span class="comment">/* Non-Blocking mode: Interrupt */</span></div>
<div class="line"><a id="l02254" name="l02254"></a><span class="lineno"> 2254</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_Start_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02255" name="l02255"></a><span class="lineno"> 2255</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_Stop_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02256" name="l02256"></a><span class="lineno"> 2256</span><span class="comment">/* Non-Blocking mode: DMA */</span></div>
<div class="line"><a id="l02257" name="l02257"></a><span class="lineno"> 2257</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_Start_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel, <span class="keyword">const</span> uint32_t *pData,</div>
<div class="line"><a id="l02258" name="l02258"></a><span class="lineno"> 2258</span>                                        uint16_t Length);</div>
<div class="line"><a id="l02259" name="l02259"></a><span class="lineno"> 2259</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_Stop_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02263" name="l02263"></a><span class="lineno"> 2263</span></div>
<div class="line"><a id="l02268" name="l02268"></a><span class="lineno"> 2268</span><span class="comment">/* Timer Input Capture functions **********************************************/</span></div>
<div class="line"><a id="l02269" name="l02269"></a><span class="lineno"> 2269</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_Init(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02270" name="l02270"></a><span class="lineno"> 2270</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_DeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02271" name="l02271"></a><span class="lineno"> 2271</span><span class="keywordtype">void</span> HAL_TIM_IC_MspInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02272" name="l02272"></a><span class="lineno"> 2272</span><span class="keywordtype">void</span> HAL_TIM_IC_MspDeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02273" name="l02273"></a><span class="lineno"> 2273</span><span class="comment">/* Blocking mode: Polling */</span></div>
<div class="line"><a id="l02274" name="l02274"></a><span class="lineno"> 2274</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_Start(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02275" name="l02275"></a><span class="lineno"> 2275</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_Stop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02276" name="l02276"></a><span class="lineno"> 2276</span><span class="comment">/* Non-Blocking mode: Interrupt */</span></div>
<div class="line"><a id="l02277" name="l02277"></a><span class="lineno"> 2277</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_Start_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02278" name="l02278"></a><span class="lineno"> 2278</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_Stop_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02279" name="l02279"></a><span class="lineno"> 2279</span><span class="comment">/* Non-Blocking mode: DMA */</span></div>
<div class="line"><a id="l02280" name="l02280"></a><span class="lineno"> 2280</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_Start_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);</div>
<div class="line"><a id="l02281" name="l02281"></a><span class="lineno"> 2281</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_Stop_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02285" name="l02285"></a><span class="lineno"> 2285</span></div>
<div class="line"><a id="l02290" name="l02290"></a><span class="lineno"> 2290</span><span class="comment">/* Timer One Pulse functions **************************************************/</span></div>
<div class="line"><a id="l02291" name="l02291"></a><span class="lineno"> 2291</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OnePulse_Init(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t OnePulseMode);</div>
<div class="line"><a id="l02292" name="l02292"></a><span class="lineno"> 2292</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OnePulse_DeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02293" name="l02293"></a><span class="lineno"> 2293</span><span class="keywordtype">void</span> HAL_TIM_OnePulse_MspInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02294" name="l02294"></a><span class="lineno"> 2294</span><span class="keywordtype">void</span> HAL_TIM_OnePulse_MspDeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02295" name="l02295"></a><span class="lineno"> 2295</span><span class="comment">/* Blocking mode: Polling */</span></div>
<div class="line"><a id="l02296" name="l02296"></a><span class="lineno"> 2296</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OnePulse_Start(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t OutputChannel);</div>
<div class="line"><a id="l02297" name="l02297"></a><span class="lineno"> 2297</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OnePulse_Stop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t OutputChannel);</div>
<div class="line"><a id="l02298" name="l02298"></a><span class="lineno"> 2298</span><span class="comment">/* Non-Blocking mode: Interrupt */</span></div>
<div class="line"><a id="l02299" name="l02299"></a><span class="lineno"> 2299</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OnePulse_Start_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t OutputChannel);</div>
<div class="line"><a id="l02300" name="l02300"></a><span class="lineno"> 2300</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OnePulse_Stop_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t OutputChannel);</div>
<div class="line"><a id="l02304" name="l02304"></a><span class="lineno"> 2304</span></div>
<div class="line"><a id="l02309" name="l02309"></a><span class="lineno"> 2309</span><span class="comment">/* Timer Encoder functions ****************************************************/</span></div>
<div class="line"><a id="l02310" name="l02310"></a><span class="lineno"> 2310</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_Init(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___encoder___init_type_def.html">TIM_Encoder_InitTypeDef</a> *sConfig);</div>
<div class="line"><a id="l02311" name="l02311"></a><span class="lineno"> 2311</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_DeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02312" name="l02312"></a><span class="lineno"> 2312</span><span class="keywordtype">void</span> HAL_TIM_Encoder_MspInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02313" name="l02313"></a><span class="lineno"> 2313</span><span class="keywordtype">void</span> HAL_TIM_Encoder_MspDeInit(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02314" name="l02314"></a><span class="lineno"> 2314</span><span class="comment">/* Blocking mode: Polling */</span></div>
<div class="line"><a id="l02315" name="l02315"></a><span class="lineno"> 2315</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_Start(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02316" name="l02316"></a><span class="lineno"> 2316</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_Stop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02317" name="l02317"></a><span class="lineno"> 2317</span><span class="comment">/* Non-Blocking mode: Interrupt */</span></div>
<div class="line"><a id="l02318" name="l02318"></a><span class="lineno"> 2318</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_Start_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02319" name="l02319"></a><span class="lineno"> 2319</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_Stop_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02320" name="l02320"></a><span class="lineno"> 2320</span><span class="comment">/* Non-Blocking mode: DMA */</span></div>
<div class="line"><a id="l02321" name="l02321"></a><span class="lineno"> 2321</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_Start_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel, uint32_t *pData1,</div>
<div class="line"><a id="l02322" name="l02322"></a><span class="lineno"> 2322</span>                                            uint32_t *pData2, uint16_t Length);</div>
<div class="line"><a id="l02323" name="l02323"></a><span class="lineno"> 2323</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_Encoder_Stop_DMA(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02327" name="l02327"></a><span class="lineno"> 2327</span></div>
<div class="line"><a id="l02332" name="l02332"></a><span class="lineno"> 2332</span><span class="comment">/* Interrupt Handler functions  ***********************************************/</span></div>
<div class="line"><a id="l02333" name="l02333"></a><span class="lineno"> 2333</span><span class="keywordtype">void</span> HAL_TIM_IRQHandler(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02337" name="l02337"></a><span class="lineno"> 2337</span></div>
<div class="line"><a id="l02342" name="l02342"></a><span class="lineno"> 2342</span><span class="comment">/* Control functions  *********************************************************/</span></div>
<div class="line"><a id="l02343" name="l02343"></a><span class="lineno"> 2343</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OC_ConfigChannel(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___o_c___init_type_def.html">TIM_OC_InitTypeDef</a> *sConfig,</div>
<div class="line"><a id="l02344" name="l02344"></a><span class="lineno"> 2344</span>                                           uint32_t Channel);</div>
<div class="line"><a id="l02345" name="l02345"></a><span class="lineno"> 2345</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_PWM_ConfigChannel(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___o_c___init_type_def.html">TIM_OC_InitTypeDef</a> *sConfig,</div>
<div class="line"><a id="l02346" name="l02346"></a><span class="lineno"> 2346</span>                                            uint32_t Channel);</div>
<div class="line"><a id="l02347" name="l02347"></a><span class="lineno"> 2347</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_IC_ConfigChannel(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___i_c___init_type_def.html">TIM_IC_InitTypeDef</a> *sConfig,</div>
<div class="line"><a id="l02348" name="l02348"></a><span class="lineno"> 2348</span>                                           uint32_t Channel);</div>
<div class="line"><a id="l02349" name="l02349"></a><span class="lineno"> 2349</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_OnePulse_ConfigChannel(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <a class="code hl_struct" href="struct_t_i_m___one_pulse___init_type_def.html">TIM_OnePulse_InitTypeDef</a> *sConfig,</div>
<div class="line"><a id="l02350" name="l02350"></a><span class="lineno"> 2350</span>                                                 uint32_t OutputChannel,  uint32_t InputChannel);</div>
<div class="line"><a id="l02351" name="l02351"></a><span class="lineno"> 2351</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_ConfigOCrefClear(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim,</div>
<div class="line"><a id="l02352" name="l02352"></a><span class="lineno"> 2352</span>                                           <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___clear_input_config_type_def.html">TIM_ClearInputConfigTypeDef</a> *sClearInputConfig,</div>
<div class="line"><a id="l02353" name="l02353"></a><span class="lineno"> 2353</span>                                           uint32_t Channel);</div>
<div class="line"><a id="l02354" name="l02354"></a><span class="lineno"> 2354</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_ConfigClockSource(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___clock_config_type_def.html">TIM_ClockConfigTypeDef</a> *sClockSourceConfig);</div>
<div class="line"><a id="l02355" name="l02355"></a><span class="lineno"> 2355</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_ConfigTI1Input(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t TI1_Selection);</div>
<div class="line"><a id="l02356" name="l02356"></a><span class="lineno"> 2356</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_SlaveConfigSynchro(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___slave_config_type_def.html">TIM_SlaveConfigTypeDef</a> *sSlaveConfig);</div>
<div class="line"><a id="l02357" name="l02357"></a><span class="lineno"> 2357</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_SlaveConfigSynchro_IT(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___slave_config_type_def.html">TIM_SlaveConfigTypeDef</a> *sSlaveConfig);</div>
<div class="line"><a id="l02358" name="l02358"></a><span class="lineno"> 2358</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_DMABurst_WriteStart(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t BurstBaseAddress,</div>
<div class="line"><a id="l02359" name="l02359"></a><span class="lineno"> 2359</span>                                              uint32_t BurstRequestSrc, <span class="keyword">const</span> uint32_t  *BurstBuffer,</div>
<div class="line"><a id="l02360" name="l02360"></a><span class="lineno"> 2360</span>                                              uint32_t  BurstLength);</div>
<div class="line"><a id="l02361" name="l02361"></a><span class="lineno"> 2361</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_DMABurst_MultiWriteStart(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t BurstBaseAddress,</div>
<div class="line"><a id="l02362" name="l02362"></a><span class="lineno"> 2362</span>                                                   uint32_t BurstRequestSrc, <span class="keyword">const</span> uint32_t *BurstBuffer,</div>
<div class="line"><a id="l02363" name="l02363"></a><span class="lineno"> 2363</span>                                                   uint32_t BurstLength,  uint32_t DataLength);</div>
<div class="line"><a id="l02364" name="l02364"></a><span class="lineno"> 2364</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_DMABurst_WriteStop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t BurstRequestSrc);</div>
<div class="line"><a id="l02365" name="l02365"></a><span class="lineno"> 2365</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_DMABurst_ReadStart(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t BurstBaseAddress,</div>
<div class="line"><a id="l02366" name="l02366"></a><span class="lineno"> 2366</span>                                             uint32_t BurstRequestSrc, uint32_t  *BurstBuffer, uint32_t  BurstLength);</div>
<div class="line"><a id="l02367" name="l02367"></a><span class="lineno"> 2367</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_DMABurst_MultiReadStart(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t BurstBaseAddress,</div>
<div class="line"><a id="l02368" name="l02368"></a><span class="lineno"> 2368</span>                                                  uint32_t BurstRequestSrc, uint32_t  *BurstBuffer,</div>
<div class="line"><a id="l02369" name="l02369"></a><span class="lineno"> 2369</span>                                                  uint32_t  BurstLength, uint32_t  DataLength);</div>
<div class="line"><a id="l02370" name="l02370"></a><span class="lineno"> 2370</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_DMABurst_ReadStop(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t BurstRequestSrc);</div>
<div class="line"><a id="l02371" name="l02371"></a><span class="lineno"> 2371</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_GenerateEvent(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t EventSource);</div>
<div class="line"><a id="l02372" name="l02372"></a><span class="lineno"> 2372</span>uint32_t HAL_TIM_ReadCapturedValue(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, uint32_t Channel);</div>
<div class="line"><a id="l02376" name="l02376"></a><span class="lineno"> 2376</span></div>
<div class="line"><a id="l02381" name="l02381"></a><span class="lineno"> 2381</span><span class="comment">/* Callback in non blocking modes (Interrupt and DMA) *************************/</span></div>
<div class="line"><a id="l02382" name="l02382"></a><span class="lineno"> 2382</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___exported___functions___group9.html#ga8a3b0ad512a6e6c6157440b68d395eac">HAL_TIM_PeriodElapsedCallback</a>(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02383" name="l02383"></a><span class="lineno"> 2383</span><span class="keywordtype">void</span> HAL_TIM_PeriodElapsedHalfCpltCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02384" name="l02384"></a><span class="lineno"> 2384</span><span class="keywordtype">void</span> HAL_TIM_OC_DelayElapsedCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02385" name="l02385"></a><span class="lineno"> 2385</span><span class="keywordtype">void</span> HAL_TIM_IC_CaptureCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02386" name="l02386"></a><span class="lineno"> 2386</span><span class="keywordtype">void</span> HAL_TIM_IC_CaptureHalfCpltCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02387" name="l02387"></a><span class="lineno"> 2387</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___exported___functions___group9.html#ga07e5fc4d223b16bec2fd6bed547cf91d">HAL_TIM_PWM_PulseFinishedCallback</a>(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02388" name="l02388"></a><span class="lineno"> 2388</span><span class="keywordtype">void</span> HAL_TIM_PWM_PulseFinishedHalfCpltCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02389" name="l02389"></a><span class="lineno"> 2389</span><span class="keywordtype">void</span> HAL_TIM_TriggerCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02390" name="l02390"></a><span class="lineno"> 2390</span><span class="keywordtype">void</span> HAL_TIM_TriggerHalfCpltCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02391" name="l02391"></a><span class="lineno"> 2391</span><span class="keywordtype">void</span> HAL_TIM_ErrorCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02392" name="l02392"></a><span class="lineno"> 2392</span> </div>
<div class="line"><a id="l02393" name="l02393"></a><span class="lineno"> 2393</span><span class="comment">/* Callbacks Register/UnRegister functions  ***********************************/</span></div>
<div class="line"><a id="l02394" name="l02394"></a><span class="lineno"> 2394</span><span class="preprocessor">#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)</span></div>
<div class="line"><a id="l02395" name="l02395"></a><span class="lineno"> 2395</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_RegisterCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, HAL_TIM_CallbackIDTypeDef CallbackID,</div>
<div class="line"><a id="l02396" name="l02396"></a><span class="lineno"> 2396</span>                                           pTIM_CallbackTypeDef pCallback);</div>
<div class="line"><a id="l02397" name="l02397"></a><span class="lineno"> 2397</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_TIM_UnRegisterCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim, HAL_TIM_CallbackIDTypeDef CallbackID);</div>
<div class="line"><a id="l02398" name="l02398"></a><span class="lineno"> 2398</span><span class="preprocessor">#endif </span><span class="comment">/* USE_HAL_TIM_REGISTER_CALLBACKS */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02399" name="l02399"></a><span class="lineno"> 2399</span></div>
<div class="line"><a id="l02403" name="l02403"></a><span class="lineno"> 2403</span></div>
<div class="line"><a id="l02408" name="l02408"></a><span class="lineno"> 2408</span><span class="comment">/* Peripheral State functions  ************************************************/</span></div>
<div class="line"><a id="l02409" name="l02409"></a><span class="lineno"> 2409</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a> HAL_TIM_Base_GetState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02410" name="l02410"></a><span class="lineno"> 2410</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a> HAL_TIM_OC_GetState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02411" name="l02411"></a><span class="lineno"> 2411</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a> HAL_TIM_PWM_GetState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02412" name="l02412"></a><span class="lineno"> 2412</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a> HAL_TIM_IC_GetState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02413" name="l02413"></a><span class="lineno"> 2413</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a> HAL_TIM_OnePulse_GetState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02414" name="l02414"></a><span class="lineno"> 2414</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a> HAL_TIM_Encoder_GetState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02415" name="l02415"></a><span class="lineno"> 2415</span> </div>
<div class="line"><a id="l02416" name="l02416"></a><span class="lineno"> 2416</span><span class="comment">/* Peripheral Channel state functions  ************************************************/</span></div>
<div class="line"><a id="l02417" name="l02417"></a><span class="lineno"> 2417</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#gaa3fa7bcbb4707f1151ccfc90a8cf9706">HAL_TIM_ActiveChannel</a> HAL_TIM_GetActiveChannel(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02418" name="l02418"></a><span class="lineno"> 2418</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#ga1a70fcbe9952e18af5c890e216a15f34">HAL_TIM_ChannelStateTypeDef</a> HAL_TIM_GetChannelState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim,  uint32_t Channel);</div>
<div class="line"><a id="l02419" name="l02419"></a><span class="lineno"> 2419</span><a class="code hl_enumeration" href="group___t_i_m___exported___types.html#ga9b87df539778a60ea940a9d5ba793f7c">HAL_TIM_DMABurstStateTypeDef</a> HAL_TIM_DMABurstState(<span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02423" name="l02423"></a><span class="lineno"> 2423</span></div>
<div class="line"><a id="l02427" name="l02427"></a><span class="lineno"> 2427</span><span class="comment">/* End of exported functions -------------------------------------------------*/</span></div>
<div class="line"><a id="l02428" name="l02428"></a><span class="lineno"> 2428</span> </div>
<div class="line"><a id="l02429" name="l02429"></a><span class="lineno"> 2429</span><span class="comment">/* Private functions----------------------------------------------------------*/</span></div>
<div class="line"><a id="l02433" name="l02433"></a><span class="lineno"> 2433</span><span class="keywordtype">void</span> TIM_Base_SetConfig(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___base___init_type_def.html">TIM_Base_InitTypeDef</a> *Structure);</div>
<div class="line"><a id="l02434" name="l02434"></a><span class="lineno"> 2434</span><span class="keywordtype">void</span> TIM_TI1_SetConfig(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter);</div>
<div class="line"><a id="l02435" name="l02435"></a><span class="lineno"> 2435</span><span class="keywordtype">void</span> TIM_OC2_SetConfig(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx, <span class="keyword">const</span> <a class="code hl_struct" href="struct_t_i_m___o_c___init_type_def.html">TIM_OC_InitTypeDef</a> *OC_Config);</div>
<div class="line"><a id="l02436" name="l02436"></a><span class="lineno"> 2436</span><span class="keywordtype">void</span> TIM_ETR_SetConfig(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx, uint32_t TIM_ExtTRGPrescaler,</div>
<div class="line"><a id="l02437" name="l02437"></a><span class="lineno"> 2437</span>                       uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter);</div>
<div class="line"><a id="l02438" name="l02438"></a><span class="lineno"> 2438</span> </div>
<div class="line"><a id="l02439" name="l02439"></a><span class="lineno"> 2439</span><span class="keywordtype">void</span> TIM_DMADelayPulseHalfCplt(<a class="code hl_typedef" href="group___d_m_a___exported___types.html#ga41b754a906b86bce54dc79938970138b">DMA_HandleTypeDef</a> *hdma);</div>
<div class="line"><a id="l02440" name="l02440"></a><span class="lineno"> 2440</span><span class="keywordtype">void</span> TIM_DMAError(<a class="code hl_typedef" href="group___d_m_a___exported___types.html#ga41b754a906b86bce54dc79938970138b">DMA_HandleTypeDef</a> *hdma);</div>
<div class="line"><a id="l02441" name="l02441"></a><span class="lineno"> 2441</span><span class="keywordtype">void</span> TIM_DMACaptureCplt(<a class="code hl_typedef" href="group___d_m_a___exported___types.html#ga41b754a906b86bce54dc79938970138b">DMA_HandleTypeDef</a> *hdma);</div>
<div class="line"><a id="l02442" name="l02442"></a><span class="lineno"> 2442</span><span class="keywordtype">void</span> TIM_DMACaptureHalfCplt(<a class="code hl_typedef" href="group___d_m_a___exported___types.html#ga41b754a906b86bce54dc79938970138b">DMA_HandleTypeDef</a> *hdma);</div>
<div class="line"><a id="l02443" name="l02443"></a><span class="lineno"> 2443</span><span class="keywordtype">void</span> TIM_CCxChannelCmd(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx, uint32_t Channel, uint32_t ChannelState);</div>
<div class="line"><a id="l02444" name="l02444"></a><span class="lineno"> 2444</span> </div>
<div class="line"><a id="l02445" name="l02445"></a><span class="lineno"> 2445</span><span class="preprocessor">#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)</span></div>
<div class="line"><a id="l02446" name="l02446"></a><span class="lineno"> 2446</span><span class="keywordtype">void</span> TIM_ResetCallback(<a class="code hl_struct" href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a> *htim);</div>
<div class="line"><a id="l02447" name="l02447"></a><span class="lineno"> 2447</span><span class="preprocessor">#endif </span><span class="comment">/* USE_HAL_TIM_REGISTER_CALLBACKS */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02448" name="l02448"></a><span class="lineno"> 2448</span></div>
<div class="line"><a id="l02452" name="l02452"></a><span class="lineno"> 2452</span><span class="comment">/* End of private functions --------------------------------------------------*/</span></div>
<div class="line"><a id="l02453" name="l02453"></a><span class="lineno"> 2453</span></div>
<div class="line"><a id="l02457" name="l02457"></a><span class="lineno"> 2457</span></div>
<div class="line"><a id="l02461" name="l02461"></a><span class="lineno"> 2461</span> </div>
<div class="line"><a id="l02462" name="l02462"></a><span class="lineno"> 2462</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l02463" name="l02463"></a><span class="lineno"> 2463</span>}</div>
<div class="line"><a id="l02464" name="l02464"></a><span class="lineno"> 2464</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l02465" name="l02465"></a><span class="lineno"> 2465</span> </div>
<div class="line"><a id="l02466" name="l02466"></a><span class="lineno"> 2466</span><span class="preprocessor">#endif </span><span class="comment">/* STM32H7xx_HAL_TIM_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="acore__armv81mml_8h_html_aec43007d9998a0a0e01faede4133d6be"><div class="ttname"><a href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a></div><div class="ttdeci">#define __IO</div><div class="ttdef"><b>Definition</b> core_armv81mml.h:277</div></div>
<div class="ttc" id="agroup___d_m_a___exported___types_html_ga41b754a906b86bce54dc79938970138b"><div class="ttname"><a href="group___d_m_a___exported___types.html#ga41b754a906b86bce54dc79938970138b">DMA_HandleTypeDef</a></div><div class="ttdeci">struct __DMA_HandleTypeDef DMA_HandleTypeDef</div><div class="ttdoc">DMA handle Structure definition.</div></div>
<div class="ttc" id="agroup___t_i_m___exported___functions___group9_html_ga07e5fc4d223b16bec2fd6bed547cf91d"><div class="ttname"><a href="group___t_i_m___exported___functions___group9.html#ga07e5fc4d223b16bec2fd6bed547cf91d">HAL_TIM_PWM_PulseFinishedCallback</a></div><div class="ttdeci">void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim)</div><div class="ttdoc">pwm dma传输完成回调函数</div><div class="ttdef"><b>Definition</b> bsp_pwm.c:14</div></div>
<div class="ttc" id="agroup___t_i_m___exported___functions___group9_html_ga8a3b0ad512a6e6c6157440b68d395eac"><div class="ttname"><a href="group___t_i_m___exported___functions___group9.html#ga8a3b0ad512a6e6c6157440b68d395eac">HAL_TIM_PeriodElapsedCallback</a></div><div class="ttdeci">void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)</div><div class="ttdoc">Period elapsed callback in non blocking mode.</div><div class="ttdef"><b>Definition</b> main.c:240</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ga1a70fcbe9952e18af5c890e216a15f34"><div class="ttname"><a href="group___t_i_m___exported___types.html#ga1a70fcbe9952e18af5c890e216a15f34">HAL_TIM_ChannelStateTypeDef</a></div><div class="ttdeci">HAL_TIM_ChannelStateTypeDef</div><div class="ttdoc">TIM Channel States definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:321</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ga9b87df539778a60ea940a9d5ba793f7c"><div class="ttname"><a href="group___t_i_m___exported___types.html#ga9b87df539778a60ea940a9d5ba793f7c">HAL_TIM_DMABurstStateTypeDef</a></div><div class="ttdeci">HAL_TIM_DMABurstStateTypeDef</div><div class="ttdoc">DMA Burst States definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:331</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gaa3fa7bcbb4707f1151ccfc90a8cf9706"><div class="ttname"><a href="group___t_i_m___exported___types.html#gaa3fa7bcbb4707f1151ccfc90a8cf9706">HAL_TIM_ActiveChannel</a></div><div class="ttdeci">HAL_TIM_ActiveChannel</div><div class="ttdoc">HAL Active channel structures definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:341</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gae0994cf5970e56ca4903e9151f40010c"><div class="ttname"><a href="group___t_i_m___exported___types.html#gae0994cf5970e56ca4903e9151f40010c">HAL_TIM_StateTypeDef</a></div><div class="ttdeci">HAL_TIM_StateTypeDef</div><div class="ttdoc">HAL State structures definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:309</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga1a70fcbe9952e18af5c890e216a15f34a38f4c5665247f7c997d0b200ed7ccc0e"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a38f4c5665247f7c997d0b200ed7ccc0e">HAL_TIM_CHANNEL_STATE_READY</a></div><div class="ttdeci">@ HAL_TIM_CHANNEL_STATE_READY</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:323</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a></div><div class="ttdeci">@ HAL_TIM_CHANNEL_STATE_RESET</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:322</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga1a70fcbe9952e18af5c890e216a15f34ad5dca7086716ee2cde9aaccaefd838ff"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34ad5dca7086716ee2cde9aaccaefd838ff">HAL_TIM_CHANNEL_STATE_BUSY</a></div><div class="ttdeci">@ HAL_TIM_CHANNEL_STATE_BUSY</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:324</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga9b87df539778a60ea940a9d5ba793f7ca2de45462aabea1ed8b0d249441404e82"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca2de45462aabea1ed8b0d249441404e82">HAL_DMA_BURST_STATE_BUSY</a></div><div class="ttdeci">@ HAL_DMA_BURST_STATE_BUSY</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:334</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga9b87df539778a60ea940a9d5ba793f7ca44e8b59c22cd2b17d449b120e03e4952"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca44e8b59c22cd2b17d449b120e03e4952">HAL_DMA_BURST_STATE_READY</a></div><div class="ttdeci">@ HAL_DMA_BURST_STATE_READY</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:333</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga9b87df539778a60ea940a9d5ba793f7ca98c26cb59bb0c07b7f020d7ff8678bb8"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca98c26cb59bb0c07b7f020d7ff8678bb8">HAL_DMA_BURST_STATE_RESET</a></div><div class="ttdeci">@ HAL_DMA_BURST_STATE_RESET</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:332</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggaa3fa7bcbb4707f1151ccfc90a8cf9706a2024e95c48b58ec9b2115faa276e3fad"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a2024e95c48b58ec9b2115faa276e3fad">HAL_TIM_ACTIVE_CHANNEL_1</a></div><div class="ttdeci">@ HAL_TIM_ACTIVE_CHANNEL_1</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:342</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggaa3fa7bcbb4707f1151ccfc90a8cf9706a368a574b486286c87f763957a0ef9d93"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a368a574b486286c87f763957a0ef9d93">HAL_TIM_ACTIVE_CHANNEL_6</a></div><div class="ttdeci">@ HAL_TIM_ACTIVE_CHANNEL_6</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:347</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggaa3fa7bcbb4707f1151ccfc90a8cf9706a50b9b4be055407e9f566d8da0a7e07cc"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a50b9b4be055407e9f566d8da0a7e07cc">HAL_TIM_ACTIVE_CHANNEL_5</a></div><div class="ttdeci">@ HAL_TIM_ACTIVE_CHANNEL_5</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:346</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggaa3fa7bcbb4707f1151ccfc90a8cf9706a574f72ac3bb41fe660318aa42dfdc98d"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a574f72ac3bb41fe660318aa42dfdc98d">HAL_TIM_ACTIVE_CHANNEL_CLEARED</a></div><div class="ttdeci">@ HAL_TIM_ACTIVE_CHANNEL_CLEARED</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:348</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggaa3fa7bcbb4707f1151ccfc90a8cf9706a7d98ec7e385cacb3aaa6cec601fa6ab6"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706a7d98ec7e385cacb3aaa6cec601fa6ab6">HAL_TIM_ACTIVE_CHANNEL_4</a></div><div class="ttdeci">@ HAL_TIM_ACTIVE_CHANNEL_4</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:345</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggaa3fa7bcbb4707f1151ccfc90a8cf9706acc3fcf4ee6d91744c4bc6a5eccde2601"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706acc3fcf4ee6d91744c4bc6a5eccde2601">HAL_TIM_ACTIVE_CHANNEL_3</a></div><div class="ttdeci">@ HAL_TIM_ACTIVE_CHANNEL_3</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:344</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggaa3fa7bcbb4707f1151ccfc90a8cf9706ae80e6a1dd1c479f504219c0fec2f3322"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggaa3fa7bcbb4707f1151ccfc90a8cf9706ae80e6a1dd1c479f504219c0fec2f3322">HAL_TIM_ACTIVE_CHANNEL_2</a></div><div class="ttdeci">@ HAL_TIM_ACTIVE_CHANNEL_2</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:343</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggae0994cf5970e56ca4903e9151f40010ca03e3339df71a74ac37820f72c2989371"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca03e3339df71a74ac37820f72c2989371">HAL_TIM_STATE_TIMEOUT</a></div><div class="ttdeci">@ HAL_TIM_STATE_TIMEOUT</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:313</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggae0994cf5970e56ca4903e9151f40010ca1ddbfef19ad0562eb8143919b710cc12"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca1ddbfef19ad0562eb8143919b710cc12">HAL_TIM_STATE_BUSY</a></div><div class="ttdeci">@ HAL_TIM_STATE_BUSY</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:312</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggae0994cf5970e56ca4903e9151f40010ca28011b79e60b74a6c55947c505c51cbc"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca28011b79e60b74a6c55947c505c51cbc">HAL_TIM_STATE_RESET</a></div><div class="ttdeci">@ HAL_TIM_STATE_RESET</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:310</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggae0994cf5970e56ca4903e9151f40010ca318cceb243cb9ca9e01833913e4f90ea"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca318cceb243cb9ca9e01833913e4f90ea">HAL_TIM_STATE_ERROR</a></div><div class="ttdeci">@ HAL_TIM_STATE_ERROR</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:314</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggae0994cf5970e56ca4903e9151f40010ca4545554d7fa04d17e78d69d17cb7e4b3"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca4545554d7fa04d17e78d69d17cb7e4b3">HAL_TIM_STATE_READY</a></div><div class="ttdeci">@ HAL_TIM_STATE_READY</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:311</div></div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html">stm32h7xx_hal_def.h</a></div><div class="ttdoc">This file contains HAL common defines, enumeration, macros and structures definitions.</div></div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html_a63c0679d1cb8b8c684fbb0632743478f"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a></div><div class="ttdeci">HAL_StatusTypeDef</div><div class="ttdoc">HAL Status structures definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_def.h:40</div></div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html_ab367482e943333a1299294eadaad284b"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html#ab367482e943333a1299294eadaad284b">HAL_LockTypeDef</a></div><div class="ttdeci">HAL_LockTypeDef</div><div class="ttdoc">HAL Lock structures definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_def.h:51</div></div>
<div class="ttc" id="astm32h7xx__hal__tim__ex_8h_html"><div class="ttname"><a href="stm32h7xx__hal__tim__ex_8h.html">stm32h7xx_hal_tim_ex.h</a></div><div class="ttdoc">Header file of TIM HAL Extended module.</div></div>
<div class="ttc" id="astruct_t_i_m___base___init_type_def_html"><div class="ttname"><a href="struct_t_i_m___base___init_type_def.html">TIM_Base_InitTypeDef</a></div><div class="ttdoc">TIM Time base Configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:47</div></div>
<div class="ttc" id="astruct_t_i_m___base___init_type_def_html_a16d0c02a8f35426360a64c0706656e35"><div class="ttname"><a href="struct_t_i_m___base___init_type_def.html#a16d0c02a8f35426360a64c0706656e35">TIM_Base_InitTypeDef::CounterMode</a></div><div class="ttdeci">uint32_t CounterMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:51</div></div>
<div class="ttc" id="astruct_t_i_m___base___init_type_def_html_a29e7b91a384f12e6be0f3ffb62ea1ea7"><div class="ttname"><a href="struct_t_i_m___base___init_type_def.html#a29e7b91a384f12e6be0f3ffb62ea1ea7">TIM_Base_InitTypeDef::AutoReloadPreload</a></div><div class="ttdeci">uint32_t AutoReloadPreload</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:72</div></div>
<div class="ttc" id="astruct_t_i_m___base___init_type_def_html_a8fab2bc184bb756763ff59c729b5be55"><div class="ttname"><a href="struct_t_i_m___base___init_type_def.html#a8fab2bc184bb756763ff59c729b5be55">TIM_Base_InitTypeDef::Period</a></div><div class="ttdeci">uint32_t Period</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:54</div></div>
<div class="ttc" id="astruct_t_i_m___base___init_type_def_html_aa949328175500fd1d112f64a4db5ae79"><div class="ttname"><a href="struct_t_i_m___base___init_type_def.html#aa949328175500fd1d112f64a4db5ae79">TIM_Base_InitTypeDef::RepetitionCounter</a></div><div class="ttdeci">uint32_t RepetitionCounter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:61</div></div>
<div class="ttc" id="astruct_t_i_m___base___init_type_def_html_ade59c3a547a5409da845592f30596d17"><div class="ttname"><a href="struct_t_i_m___base___init_type_def.html#ade59c3a547a5409da845592f30596d17">TIM_Base_InitTypeDef::ClockDivision</a></div><div class="ttdeci">uint32_t ClockDivision</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:58</div></div>
<div class="ttc" id="astruct_t_i_m___base___init_type_def_html_afc886119e6709bb576d25b5cf8d12d92"><div class="ttname"><a href="struct_t_i_m___base___init_type_def.html#afc886119e6709bb576d25b5cf8d12d92">TIM_Base_InitTypeDef::Prescaler</a></div><div class="ttdeci">uint32_t Prescaler</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:48</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html">TIM_BreakDeadTimeConfigTypeDef</a></div><div class="ttdoc">TIM Break input(s) and Dead time configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:272</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_a3c90aabc31a34864525dad4bd3547c86"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#a3c90aabc31a34864525dad4bd3547c86">TIM_BreakDeadTimeConfigTypeDef::Break2Filter</a></div><div class="ttdeci">uint32_t Break2Filter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:295</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_a49f39e31ac019b9b7a20751bfd01c6c4"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#a49f39e31ac019b9b7a20751bfd01c6c4">TIM_BreakDeadTimeConfigTypeDef::OffStateIDLEMode</a></div><div class="ttdeci">uint32_t OffStateIDLEMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:275</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_a4bdc5aec84be4b728b55028491f261d4"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#a4bdc5aec84be4b728b55028491f261d4">TIM_BreakDeadTimeConfigTypeDef::DeadTime</a></div><div class="ttdeci">uint32_t DeadTime</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:279</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_a5e97751b5e397414e2a5120eb5cef7c6"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#a5e97751b5e397414e2a5120eb5cef7c6">TIM_BreakDeadTimeConfigTypeDef::OffStateRunMode</a></div><div class="ttdeci">uint32_t OffStateRunMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:273</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_a8962430194b43ac28a14c96dd9cc44e6"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#a8962430194b43ac28a14c96dd9cc44e6">TIM_BreakDeadTimeConfigTypeDef::BreakState</a></div><div class="ttdeci">uint32_t BreakState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:281</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_aad8158e694a62f6c071975ee4c2e5b6a"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#aad8158e694a62f6c071975ee4c2e5b6a">TIM_BreakDeadTimeConfigTypeDef::BreakFilter</a></div><div class="ttdeci">uint32_t BreakFilter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:285</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_ab00ae9fa5c6daa6319883863dee6e40a"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#ab00ae9fa5c6daa6319883863dee6e40a">TIM_BreakDeadTimeConfigTypeDef::LockLevel</a></div><div class="ttdeci">uint32_t LockLevel</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:277</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_ab9a983671c730c9b33852c9aa60846fb"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#ab9a983671c730c9b33852c9aa60846fb">TIM_BreakDeadTimeConfigTypeDef::Break2State</a></div><div class="ttdeci">uint32_t Break2State</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:291</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_ae15ddbf3087f9a2129a52a1317339ea7"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#ae15ddbf3087f9a2129a52a1317339ea7">TIM_BreakDeadTimeConfigTypeDef::BreakPolarity</a></div><div class="ttdeci">uint32_t BreakPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:283</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_ae591f2368d0be5b77d8a746e73eabe71"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#ae591f2368d0be5b77d8a746e73eabe71">TIM_BreakDeadTimeConfigTypeDef::AutomaticOutput</a></div><div class="ttdeci">uint32_t AutomaticOutput</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:301</div></div>
<div class="ttc" id="astruct_t_i_m___break_dead_time_config_type_def_html_af492d4b9f5e974abb51abe58d413cd17"><div class="ttname"><a href="struct_t_i_m___break_dead_time_config_type_def.html#af492d4b9f5e974abb51abe58d413cd17">TIM_BreakDeadTimeConfigTypeDef::Break2Polarity</a></div><div class="ttdeci">uint32_t Break2Polarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:293</div></div>
<div class="ttc" id="astruct_t_i_m___clear_input_config_type_def_html"><div class="ttname"><a href="struct_t_i_m___clear_input_config_type_def.html">TIM_ClearInputConfigTypeDef</a></div><div class="ttdoc">TIM Clear Input Configuration Handle Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:214</div></div>
<div class="ttc" id="astruct_t_i_m___clear_input_config_type_def_html_a01d4b91dd297c4f0582a4d9179abf32f"><div class="ttname"><a href="struct_t_i_m___clear_input_config_type_def.html#a01d4b91dd297c4f0582a4d9179abf32f">TIM_ClearInputConfigTypeDef::ClearInputState</a></div><div class="ttdeci">uint32_t ClearInputState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:215</div></div>
<div class="ttc" id="astruct_t_i_m___clear_input_config_type_def_html_a49dbc65edc5316822fcabd61cc8409de"><div class="ttname"><a href="struct_t_i_m___clear_input_config_type_def.html#a49dbc65edc5316822fcabd61cc8409de">TIM_ClearInputConfigTypeDef::ClearInputPolarity</a></div><div class="ttdeci">uint32_t ClearInputPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:219</div></div>
<div class="ttc" id="astruct_t_i_m___clear_input_config_type_def_html_a509cecb64fec71391ddc8b4703e09cfe"><div class="ttname"><a href="struct_t_i_m___clear_input_config_type_def.html#a509cecb64fec71391ddc8b4703e09cfe">TIM_ClearInputConfigTypeDef::ClearInputPrescaler</a></div><div class="ttdeci">uint32_t ClearInputPrescaler</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:221</div></div>
<div class="ttc" id="astruct_t_i_m___clear_input_config_type_def_html_a6d2e06a970e30aaf4f8a6091e443eecf"><div class="ttname"><a href="struct_t_i_m___clear_input_config_type_def.html#a6d2e06a970e30aaf4f8a6091e443eecf">TIM_ClearInputConfigTypeDef::ClearInputFilter</a></div><div class="ttdeci">uint32_t ClearInputFilter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:224</div></div>
<div class="ttc" id="astruct_t_i_m___clear_input_config_type_def_html_a776d2f14021a82e022468fd46594b8a0"><div class="ttname"><a href="struct_t_i_m___clear_input_config_type_def.html#a776d2f14021a82e022468fd46594b8a0">TIM_ClearInputConfigTypeDef::ClearInputSource</a></div><div class="ttdeci">uint32_t ClearInputSource</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:217</div></div>
<div class="ttc" id="astruct_t_i_m___clock_config_type_def_html"><div class="ttname"><a href="struct_t_i_m___clock_config_type_def.html">TIM_ClockConfigTypeDef</a></div><div class="ttdoc">Clock Configuration Handle Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:199</div></div>
<div class="ttc" id="astruct_t_i_m___clock_config_type_def_html_a54c329013b5f6f87d1c3d2495fca84d2"><div class="ttname"><a href="struct_t_i_m___clock_config_type_def.html#a54c329013b5f6f87d1c3d2495fca84d2">TIM_ClockConfigTypeDef::ClockSource</a></div><div class="ttdeci">uint32_t ClockSource</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:200</div></div>
<div class="ttc" id="astruct_t_i_m___clock_config_type_def_html_a66453fa8dc8a300267ff5aba08eff5c4"><div class="ttname"><a href="struct_t_i_m___clock_config_type_def.html#a66453fa8dc8a300267ff5aba08eff5c4">TIM_ClockConfigTypeDef::ClockPolarity</a></div><div class="ttdeci">uint32_t ClockPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:202</div></div>
<div class="ttc" id="astruct_t_i_m___clock_config_type_def_html_adaf66568c766f75c4c661a872ca399e3"><div class="ttname"><a href="struct_t_i_m___clock_config_type_def.html#adaf66568c766f75c4c661a872ca399e3">TIM_ClockConfigTypeDef::ClockFilter</a></div><div class="ttdeci">uint32_t ClockFilter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:206</div></div>
<div class="ttc" id="astruct_t_i_m___clock_config_type_def_html_ae4c0cb6f58da0ec7b99f1c6411d2fee1"><div class="ttname"><a href="struct_t_i_m___clock_config_type_def.html#ae4c0cb6f58da0ec7b99f1c6411d2fee1">TIM_ClockConfigTypeDef::ClockPrescaler</a></div><div class="ttdeci">uint32_t ClockPrescaler</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:204</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html">TIM_Encoder_InitTypeDef</a></div><div class="ttdoc">TIM Encoder Configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:166</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_a30cdb580735007aa9735b2f5cc133049"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#a30cdb580735007aa9735b2f5cc133049">TIM_Encoder_InitTypeDef::IC2Filter</a></div><div class="ttdeci">uint32_t IC2Filter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:191</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_a3e27323d593e4f3b95ebaa3772e79618"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#a3e27323d593e4f3b95ebaa3772e79618">TIM_Encoder_InitTypeDef::IC1Polarity</a></div><div class="ttdeci">uint32_t IC1Polarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:170</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_a50f3051c1b568b9dcde146199f97f3fb"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#a50f3051c1b568b9dcde146199f97f3fb">TIM_Encoder_InitTypeDef::IC1Filter</a></div><div class="ttdeci">uint32_t IC1Filter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:179</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_a56307eb4766e3f0e1cd1cd3c4fc2157e"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#a56307eb4766e3f0e1cd1cd3c4fc2157e">TIM_Encoder_InitTypeDef::IC1Prescaler</a></div><div class="ttdeci">uint32_t IC1Prescaler</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:176</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_a84a39a8667f296b4b3fbe1a0add58396"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#a84a39a8667f296b4b3fbe1a0add58396">TIM_Encoder_InitTypeDef::IC2Selection</a></div><div class="ttdeci">uint32_t IC2Selection</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:185</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_a85fbdebacff594ff1ad0d16eddfdc179"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#a85fbdebacff594ff1ad0d16eddfdc179">TIM_Encoder_InitTypeDef::IC1Selection</a></div><div class="ttdeci">uint32_t IC1Selection</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:173</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_ab1e4b0752d88c04081e3ff2fea6aa52e"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#ab1e4b0752d88c04081e3ff2fea6aa52e">TIM_Encoder_InitTypeDef::EncoderMode</a></div><div class="ttdeci">uint32_t EncoderMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:167</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_abb7968a8ba34e13da1fb8f5916a754ce"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#abb7968a8ba34e13da1fb8f5916a754ce">TIM_Encoder_InitTypeDef::IC2Polarity</a></div><div class="ttdeci">uint32_t IC2Polarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:182</div></div>
<div class="ttc" id="astruct_t_i_m___encoder___init_type_def_html_ac80972d0e157508ff075815da58070cb"><div class="ttname"><a href="struct_t_i_m___encoder___init_type_def.html#ac80972d0e157508ff075815da58070cb">TIM_Encoder_InitTypeDef::IC2Prescaler</a></div><div class="ttdeci">uint32_t IC2Prescaler</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:188</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html">TIM_HandleTypeDef</a></div><div class="ttdoc">TIM Time Base Handle Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:359</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_a15338c71de82fa178c685be868e694bd"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#a15338c71de82fa178c685be868e694bd">TIM_HandleTypeDef::hdma</a></div><div class="ttdeci">DMA_HandleTypeDef * hdma[7]</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:363</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_a2a24b963b57150ed2fb0f051cd87b65a"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#a2a24b963b57150ed2fb0f051cd87b65a">TIM_HandleTypeDef::Lock</a></div><div class="ttdeci">HAL_LockTypeDef Lock</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:365</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_a6b6eeaf94f2e6e3d0a5bdac44adf21d6"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#a6b6eeaf94f2e6e3d0a5bdac44adf21d6">TIM_HandleTypeDef::State</a></div><div class="ttdeci">__IO HAL_TIM_StateTypeDef State</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:366</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_a8b2e61c3c4128e62cb7be7d35048152e"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#a8b2e61c3c4128e62cb7be7d35048152e">TIM_HandleTypeDef::Init</a></div><div class="ttdeci">TIM_Base_InitTypeDef Init</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:361</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_a97dfe939e85a354c2dd8c66bef48e5a2"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#a97dfe939e85a354c2dd8c66bef48e5a2">TIM_HandleTypeDef::ChannelState</a></div><div class="ttdeci">__IO HAL_TIM_ChannelStateTypeDef ChannelState[6]</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:367</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_a985e3a4b24617ab917ed20e089e4ce83"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#a985e3a4b24617ab917ed20e089e4ce83">TIM_HandleTypeDef::DMABurstState</a></div><div class="ttdeci">__IO HAL_TIM_DMABurstStateTypeDef DMABurstState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:369</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_ac7648b2c1fd8d3fb38913fbad5379b11"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#ac7648b2c1fd8d3fb38913fbad5379b11">TIM_HandleTypeDef::ChannelNState</a></div><div class="ttdeci">__IO HAL_TIM_ChannelStateTypeDef ChannelNState[4]</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:368</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_ad0c5f736a15f6d8d14724854c8133bcc"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#ad0c5f736a15f6d8d14724854c8133bcc">TIM_HandleTypeDef::Instance</a></div><div class="ttdeci">TIM_TypeDef * Instance</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:360</div></div>
<div class="ttc" id="astruct_t_i_m___handle_type_def_html_ae9c5a11c1f5b27c808c0aca453e63870"><div class="ttname"><a href="struct_t_i_m___handle_type_def.html#ae9c5a11c1f5b27c808c0aca453e63870">TIM_HandleTypeDef::Channel</a></div><div class="ttdeci">HAL_TIM_ActiveChannel Channel</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:362</div></div>
<div class="ttc" id="astruct_t_i_m___i_c___init_type_def_html"><div class="ttname"><a href="struct_t_i_m___i_c___init_type_def.html">TIM_IC_InitTypeDef</a></div><div class="ttdoc">TIM Input Capture Configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:148</div></div>
<div class="ttc" id="astruct_t_i_m___i_c___init_type_def_html_a452a4a459b6f7b7c478db032de9b0d72"><div class="ttname"><a href="struct_t_i_m___i_c___init_type_def.html#a452a4a459b6f7b7c478db032de9b0d72">TIM_IC_InitTypeDef::ICPrescaler</a></div><div class="ttdeci">uint32_t ICPrescaler</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:155</div></div>
<div class="ttc" id="astruct_t_i_m___i_c___init_type_def_html_aad80556490de79727ba1269c851e9724"><div class="ttname"><a href="struct_t_i_m___i_c___init_type_def.html#aad80556490de79727ba1269c851e9724">TIM_IC_InitTypeDef::ICSelection</a></div><div class="ttdeci">uint32_t ICSelection</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:152</div></div>
<div class="ttc" id="astruct_t_i_m___i_c___init_type_def_html_ab122383ebc0926c49a814546471da9b3"><div class="ttname"><a href="struct_t_i_m___i_c___init_type_def.html#ab122383ebc0926c49a814546471da9b3">TIM_IC_InitTypeDef::ICPolarity</a></div><div class="ttdeci">uint32_t ICPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:149</div></div>
<div class="ttc" id="astruct_t_i_m___i_c___init_type_def_html_ae8432aa11b5495b252ac7ae299eabb32"><div class="ttname"><a href="struct_t_i_m___i_c___init_type_def.html#ae8432aa11b5495b252ac7ae299eabb32">TIM_IC_InitTypeDef::ICFilter</a></div><div class="ttdeci">uint32_t ICFilter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:158</div></div>
<div class="ttc" id="astruct_t_i_m___master_config_type_def_html"><div class="ttname"><a href="struct_t_i_m___master_config_type_def.html">TIM_MasterConfigTypeDef</a></div><div class="ttdoc">TIM Master configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:234</div></div>
<div class="ttc" id="astruct_t_i_m___master_config_type_def_html_a45ddfca310a1180e19fc24b36f8e9585"><div class="ttname"><a href="struct_t_i_m___master_config_type_def.html#a45ddfca310a1180e19fc24b36f8e9585">TIM_MasterConfigTypeDef::MasterSlaveMode</a></div><div class="ttdeci">uint32_t MasterSlaveMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:239</div></div>
<div class="ttc" id="astruct_t_i_m___master_config_type_def_html_a5c9db1837051b5b2927bc4d726e980fe"><div class="ttname"><a href="struct_t_i_m___master_config_type_def.html#a5c9db1837051b5b2927bc4d726e980fe">TIM_MasterConfigTypeDef::MasterOutputTrigger2</a></div><div class="ttdeci">uint32_t MasterOutputTrigger2</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:237</div></div>
<div class="ttc" id="astruct_t_i_m___master_config_type_def_html_a908a6c1b46cb203c0b8b59b490e1114e"><div class="ttname"><a href="struct_t_i_m___master_config_type_def.html#a908a6c1b46cb203c0b8b59b490e1114e">TIM_MasterConfigTypeDef::MasterOutputTrigger</a></div><div class="ttdeci">uint32_t MasterOutputTrigger</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:235</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html">TIM_OC_InitTypeDef</a></div><div class="ttdoc">TIM Output Compare Configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:80</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html_a0d70cc51990d7433fd76cc6ed1d06237"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html#a0d70cc51990d7433fd76cc6ed1d06237">TIM_OC_InitTypeDef::OCNIdleState</a></div><div class="ttdeci">uint32_t OCNIdleState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:103</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html_a21922d8e2fee659d081c4be4c500d1d4"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html#a21922d8e2fee659d081c4be4c500d1d4">TIM_OC_InitTypeDef::OCNPolarity</a></div><div class="ttdeci">uint32_t OCNPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:90</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html_a4c4203c5ed779ac86fb793bb9d628e55"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html#a4c4203c5ed779ac86fb793bb9d628e55">TIM_OC_InitTypeDef::OCFastMode</a></div><div class="ttdeci">uint32_t OCFastMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:94</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html_a556b7137d041aceed3e45c87cbfb39cd"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html#a556b7137d041aceed3e45c87cbfb39cd">TIM_OC_InitTypeDef::OCPolarity</a></div><div class="ttdeci">uint32_t OCPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:87</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html_a61fb5b9ef4154de67620ac81085a0e39"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html#a61fb5b9ef4154de67620ac81085a0e39">TIM_OC_InitTypeDef::Pulse</a></div><div class="ttdeci">uint32_t Pulse</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:84</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html_ace3e2b76ca2fca0f4961585ed9ebecf5"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html#ace3e2b76ca2fca0f4961585ed9ebecf5">TIM_OC_InitTypeDef::OCIdleState</a></div><div class="ttdeci">uint32_t OCIdleState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:99</div></div>
<div class="ttc" id="astruct_t_i_m___o_c___init_type_def_html_ae5faa1cba0b3f1ab6179cc54e1015ee8"><div class="ttname"><a href="struct_t_i_m___o_c___init_type_def.html#ae5faa1cba0b3f1ab6179cc54e1015ee8">TIM_OC_InitTypeDef::OCMode</a></div><div class="ttdeci">uint32_t OCMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:81</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html">TIM_OnePulse_InitTypeDef</a></div><div class="ttdoc">TIM One Pulse Mode Configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:112</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_a00deac6c3347b0482955d936351c6388"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#a00deac6c3347b0482955d936351c6388">TIM_OnePulse_InitTypeDef::OCNPolarity</a></div><div class="ttdeci">uint32_t OCNPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:122</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_a3028787ad41698072cbf70ddf1b6c984"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#a3028787ad41698072cbf70ddf1b6c984">TIM_OnePulse_InitTypeDef::OCPolarity</a></div><div class="ttdeci">uint32_t OCPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:119</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_a37bc0a680d53458bf4c42ebb277b0c2c"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#a37bc0a680d53458bf4c42ebb277b0c2c">TIM_OnePulse_InitTypeDef::OCNIdleState</a></div><div class="ttdeci">uint32_t OCNIdleState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:130</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_a4f1fbf6d60812c3194e9ee8a05f5cfa6"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#a4f1fbf6d60812c3194e9ee8a05f5cfa6">TIM_OnePulse_InitTypeDef::Pulse</a></div><div class="ttdeci">uint32_t Pulse</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:116</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_a8589cf95218ea62604b845054b36b772"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#a8589cf95218ea62604b845054b36b772">TIM_OnePulse_InitTypeDef::ICPolarity</a></div><div class="ttdeci">uint32_t ICPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:134</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_a883e69dec14d8bde9914906be1b04ad7"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#a883e69dec14d8bde9914906be1b04ad7">TIM_OnePulse_InitTypeDef::ICFilter</a></div><div class="ttdeci">uint32_t ICFilter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:140</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_a9e8853f17e85393a869aa2ecb315f030"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#a9e8853f17e85393a869aa2ecb315f030">TIM_OnePulse_InitTypeDef::ICSelection</a></div><div class="ttdeci">uint32_t ICSelection</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:137</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_aef11bcea1dbf3e3ddf2a4bbc2846bb1e"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#aef11bcea1dbf3e3ddf2a4bbc2846bb1e">TIM_OnePulse_InitTypeDef::OCIdleState</a></div><div class="ttdeci">uint32_t OCIdleState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:126</div></div>
<div class="ttc" id="astruct_t_i_m___one_pulse___init_type_def_html_af127f01162853e39ae616b43cc52b674"><div class="ttname"><a href="struct_t_i_m___one_pulse___init_type_def.html#af127f01162853e39ae616b43cc52b674">TIM_OnePulse_InitTypeDef::OCMode</a></div><div class="ttdeci">uint32_t OCMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:113</div></div>
<div class="ttc" id="astruct_t_i_m___slave_config_type_def_html"><div class="ttname"><a href="struct_t_i_m___slave_config_type_def.html">TIM_SlaveConfigTypeDef</a></div><div class="ttdoc">TIM Slave configuration Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:252</div></div>
<div class="ttc" id="astruct_t_i_m___slave_config_type_def_html_a07d28f704576a41e37bbb7412e0fba60"><div class="ttname"><a href="struct_t_i_m___slave_config_type_def.html#a07d28f704576a41e37bbb7412e0fba60">TIM_SlaveConfigTypeDef::TriggerFilter</a></div><div class="ttdeci">uint32_t TriggerFilter</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:261</div></div>
<div class="ttc" id="astruct_t_i_m___slave_config_type_def_html_a2792de155698128ade1e505618c1bc43"><div class="ttname"><a href="struct_t_i_m___slave_config_type_def.html#a2792de155698128ade1e505618c1bc43">TIM_SlaveConfigTypeDef::SlaveMode</a></div><div class="ttdeci">uint32_t SlaveMode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:253</div></div>
<div class="ttc" id="astruct_t_i_m___slave_config_type_def_html_a57be6d41d77a968f1daeac7b65b1ab4c"><div class="ttname"><a href="struct_t_i_m___slave_config_type_def.html#a57be6d41d77a968f1daeac7b65b1ab4c">TIM_SlaveConfigTypeDef::TriggerPrescaler</a></div><div class="ttdeci">uint32_t TriggerPrescaler</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:259</div></div>
<div class="ttc" id="astruct_t_i_m___slave_config_type_def_html_a82efdad1e2ed9edbd4c895987ebfe0f7"><div class="ttname"><a href="struct_t_i_m___slave_config_type_def.html#a82efdad1e2ed9edbd4c895987ebfe0f7">TIM_SlaveConfigTypeDef::InputTrigger</a></div><div class="ttdeci">uint32_t InputTrigger</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:255</div></div>
<div class="ttc" id="astruct_t_i_m___slave_config_type_def_html_afa8fa1801ef5e13115732a495ef11165"><div class="ttname"><a href="struct_t_i_m___slave_config_type_def.html#afa8fa1801ef5e13115732a495ef11165">TIM_SlaveConfigTypeDef::TriggerPolarity</a></div><div class="ttdeci">uint32_t TriggerPolarity</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:257</div></div>
<div class="ttc" id="astruct_t_i_m___type_def_html"><div class="ttname"><a href="struct_t_i_m___type_def.html">TIM_TypeDef</a></div><div class="ttdoc">TIM.</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1525</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a href="dir_60925fc218da8ca7908795bf5f624060.html">Drivers</a></li><li class="navelem"><a href="dir_7baec2ddb99168f99d1052c1aec46b20.html">STM32H7xx_HAL_Driver</a></li><li class="navelem"><a href="dir_4f22a8fa6199c96df71a89cbd7613f35.html">Inc</a></li><li class="navelem"><a href="stm32h7xx__hal__tim_8h.html">stm32h7xx_hal_tim.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
